Results 1 to 9 of 9

Thread: Matlab vs Octave

  1. #1
    Join Date
    Jul 2009
    Location
    en un lugar de la mancha
    Beans
    144

    Matlab vs Octave

    Hi guys,

    In many discussions and posts about Matlab people suggest to switch to Octave.
    Now, I would like you guys to help me making a comparison.

    In my opinion, these are the features of Matlab missing in Octave:

    • It is very popular between the scientific community
    • A lot of toolboxes to solve different problems are available
    • Interfaces to numerical software written in C/C++
    • it comes with Simulink

    On the other hand, Octave is

    • Free
    • Open Source

  2. #2
    Join Date
    Sep 2007
    Location
    TX, USA
    Beans
    385
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Matlab vs Octave

    Quote Originally Posted by tommpogg View Post
    It is very popular between the scientific community
    It doesn't matter because the syntax is almost identical. Almost any Matlab code will run under Octave with no or very little changes. Besides, I think Octave is gaining a lot of popularity due to it's being free & open-source.

    A lot of toolboxes to solve different problems are available
    Octave has a LOT of toolboxes as well, check the repos!

    Interfaces to numerical software written in C/C++
    Octave does that too, check the SWIG project's Octave page: http://www.swig.org/Doc1.3/Octave.html
    and
    http://wiki.octave.org/wiki.pl?CategoryExternal.

    it comes with Simulink
    True, and as of now I don't think Octave has an equivalent. In my case, I don't use Simulink at all, so it depends whether this is important to you or not.

    My biggest beef with Matlab is that it costs an arm and a leg and if you get the student academic version, it comes with certain limitations IIRC.
    This should be a sticky, or a bug 'cos it ain't a feature

  3. #3
    Join Date
    Jul 2009
    Location
    en un lugar de la mancha
    Beans
    144

    Re: Matlab vs Octave

    Quote Originally Posted by PC_load_letter View Post
    It doesn't matter because the syntax is almost identical. Almost any Matlab code will run under Octave with no or very little changes. Besides, I think Octave is gaining a lot of popularity due to it's being free & open-source.
    An "almost identical" syntax is handy if you have to port a few scripts and functions from Matlab to Octave. But I am afraid that porting a project with hundreds of m files would be a really hard task.

    Quote Originally Posted by PC_load_letter View Post
    Octave has a LOT of toolboxes as well, check the repos!
    Of course it is possible to find equivalent toolboxes in the repositories.
    Nevertheless, a lot of useful (free) stuff has been developed for Matlab only (e.g. optimisation tools like YALMIP, control toolboxes like MPT and many more).
    You still have to pay for the Matlab license, which is expensive.

    By the way, if someone could tell me a way to run YALMIP and MPT on Octave, I would be happy.

    Quote Originally Posted by PC_load_letter View Post
    Octave does that too, check the SWIG project's Octave page: http://www.swig.org/Doc1.3/Octave.html
    and
    http://wiki.octave.org/wiki.pl?CategoryExternal.
    Thank you, I'll take a look.

    Quote Originally Posted by PC_load_letter View Post
    My biggest beef with Matlab is that it costs an arm and a leg and if you get the student academic version, it comes with certain limitations IIRC.
    True. This is definitively the weakest point of Matlab.

  4. #4
    Join Date
    Mar 2010
    Beans
    122
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Matlab vs Octave

    The Matlab GUI is very good, it's something that Octave also lacks.

    Quote Originally Posted by PC_load_letter View Post
    My biggest beef with Matlab is that it costs an arm and a leg and if you get the student academic version, it comes with certain limitations IIRC.
    If you are short, they also ask for one kidney.

    Cheers


  5. #5
    Join Date
    Sep 2007
    Location
    TX, USA
    Beans
    385
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Matlab vs Octave

    Quote Originally Posted by Random_Dude View Post
    The Matlab GUI is very good, it's something that Octave also lacks.
    There is QToctave in the repos, it may not be as feature rich as Matlab (I say not as bloated) but you may like it more than the terminal.

    I don't use Matlab GUI, the editor (at least in the version installed at work) is a nightmare. So I use Geany to edit the m.files and "matlab -nodesktop -nosplash" in terminal.

    If you are short, they also ask for one kidney.
    Cheers
    LOL
    This should be a sticky, or a bug 'cos it ain't a feature

  6. #6
    Join Date
    Sep 2007
    Location
    TX, USA
    Beans
    385
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Matlab vs Octave

    Another thing to mention so to be completely fair. Octave does have a few more bugs than you might find in Matlab, but the good news is you can always send an email to the dev team and you could get a batch to fix the problem, you'll then have to batch the source, compile, and reinstall..etc.

    In my line of work, I recently stumbled upon a very serious bug in Octave 3.2. Simply, you may sometimes get a wrong answer when numerically integrating certain functions over certain intervals with quadgk. The devs knew about it when I emailed them and sent me the link to download a fixing batch. YMMMV in a situation like this, so you may want to stick with Matlab for the mission critical projects.
    This should be a sticky, or a bug 'cos it ain't a feature

  7. #7
    Join Date
    Mar 2010
    Beans
    122
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Matlab vs Octave

    Quote Originally Posted by PC_load_letter View Post
    There is QToctave in the repos, it may not be as feature rich as Matlab (I say not as bloated) but you may like it more than the terminal.
    I didn't know there was a GUI for Octave, I've got to give it a try.

    Cheers

    EDIT:
    I've done some googling and I found another Octave GUI, this one seems similar to the MATLAB GUI.
    http://sites.google.com/site/guioctave/screenshots
    Last edited by Random_Dude; July 12th, 2011 at 09:51 AM.


  8. #8
    Join Date
    Sep 2007
    Location
    TX, USA
    Beans
    385
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Matlab vs Octave

    Looks nice, but it's a Windows only app, so I'm out of luck
    On their forum page, the dev says that the software utilizes Microsoft Foundation classes, which I guess it means there is no way it gets ported to Linux (or OSX).

    QToctave is pretty good IMO and it's already in the repos. There is also KOctave but I don't have any experience with it.
    This should be a sticky, or a bug 'cos it ain't a feature

  9. #9
    Join Date
    Mar 2010
    Beans
    122
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Matlab vs Octave

    Quote Originally Posted by PC_load_letter View Post
    Looks nice, but it's a Windows only app, so I'm out of luck
    On their forum page, the dev says that the software utilizes Microsoft Foundation classes, which I guess it means there is no way it gets ported to Linux (or OSX).
    Damn I didn't notice that. That's too bad.
    Well I'll give QToctave a chance when I get the time.

    Cheers


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •