MatrixMails - Get paid Octave as a Matlab replacement
Informal Linux Group Namibia
February 07, 2012, 03:07:11 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Octave as a Matlab replacement  (Read 2779 times)
riaan
Moderator
Full Member
*****

Karma: 1
Posts: 128



« on: October 04, 2007, 09:40:35 AM »

There exists an OpenSource 'replacement' for the ubiquitous and popular propriety Matlab (MATrix LABoratory) called "Octave". It provides the user with a FREE numerical computing environment in the form of a structured computing environment with a language slightly reminescent of C.

The syntax is mostly compatible with Matlab's and if you know matlab, you'll be OK. It is apparently possible, with some planning, to write programs that is compatible with both Matlab and Octave.

It even has the ability to produce graphs. Where Matlab uses its own devices to produce graphical output, Octave falls back to sending instructions to Gnuplot and/or Grace, two well-known OpenSource graphing packages. Here's an example of such where I have entered the following lines:
[X,Y] = meshgrid(-8:.5:Cool;
R = sqrt(X.^2 + Y.^2)+eps;
Z = sin(R)./R;
surf(X,Y,Z)
into KOctave, a KDE front-end to Octave:


Dependencies: ATLAS (Automatically Tuned Linear Algebra Software) and GnuPlot (blas-atlas, lapack-atlas, gnuplot). If you are a KDE user, koctave might interest you as well.

Enjoy!
Riaan
Logged

Riaan Steenkamp
riaan
Moderator
Full Member
*****

Karma: 1
Posts: 128



« Reply #1 on: October 04, 2007, 09:56:10 AM »

Errata:
1) Sorry for the smiley in the code, it's the server's fault, not mine. It should read:
                [X,Y] = meshgrid(-8:.5:8);
2) View the attached .jpg for the result.
Logged

Riaan Steenkamp
Informal Linux Group Namibia
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Unique Hits: 722475
Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Check PageRank