Octave vs Matlab: Will I Run Into Trouble?

  • Context: MATLAB 
  • Thread starter Thread starter mooktank
  • Start date Start date
  • Tags Tags
    Matlab Octave
Click For Summary

Discussion Overview

The discussion revolves around the comparison between Octave and Matlab, focusing on their compatibility, functionality, and user experience. Participants share their experiences and opinions on whether learning Octave will lead to difficulties when transitioning to Matlab, particularly in collaborative settings.

Discussion Character

  • Debate/contested
  • Technical explanation
  • Exploratory

Main Points Raised

  • Some participants note that Octave can parse most Matlab code, but Matlab cannot parse all Octave code, highlighting differences in string handling.
  • Several users emphasize that Matlab's plotting capabilities, help documentation, and GUI are significantly superior to those of Octave.
  • One participant criticizes Octave for lacking certain functions, such as specific ODE solvers, and mentions issues with bugs leading to incorrect results compared to Matlab.
  • Another user points out that Octave does not have a complete package for control systems, specifically mentioning the absence of a symbolic Laplace transform tool.
  • Performance comparisons indicate that Matlab is faster than Octave for certain calculations, with specific time metrics provided.
  • One suggestion is made to consider using Python with libraries like SciPy and NumPy as an alternative to both Octave and Matlab, citing better behavior and functionality.
  • A reference to a chapter in a Matlab programming wikibook is provided for further reading on the differences between the two platforms.

Areas of Agreement / Disagreement

Participants express a range of opinions, with some favoring Octave as a viable alternative to Matlab, while others strongly prefer Matlab due to its superior features and reliability. The discussion remains unresolved with multiple competing views on the effectiveness of Octave compared to Matlab.

Contextual Notes

Participants mention specific limitations of Octave, such as missing functions and performance issues, but do not reach a consensus on the overall usability of Octave versus Matlab.

mooktank
Messages
41
Reaction score
1
Has anyone here used the open source Octave as opposed to Matlab? I don't have access to Matlab right now and Octave claims to be compatible to a high extent. Will I run into trouble if I learn Octave thoroughly then have to switch to Matlab for collaborative reasons?
 
Physics news on Phys.org
I've used octave a bit over the last year or so. As far as I can tell Octave can parse all Matlab code, but Matlab cannot parse all Octave code. For example, Octave accepts both double and single quotes for strings, but Matlab only accepts single quotes. So, as far as I know, Octave is a great alternative.

Having said that, I now run a UNIX version of Matlab because it's plotting features are superior to Octave because they are native whereas Octave uses GNUPlot.
 
Most of the functions are compatible, but Matlab's plotting, help documentation, and GUI are worlds above octave. This sounds like trivial stuff but it really makes a big difference IMO.
 
I've used octave, and I think it's terrible. There are a lot of functions that it doesn't have (ode solvers for one) and it tends to crash and gnuplot tends to plot things incorrectly. In addition, sometimes I've been calculating things and have gotten incorrect answers because octave is buggy (the same code pasted into MATLAB would give the correct result).
 
/agree with roeb

I am only a few hours deep into the Matlab/Octave world and already the ratio is >1.

Matlab wins because Octave doesn't have a complete package for controls. Biggest missing tool is the symbolic laplace transform... Its really unfortunate. If I had more time, or didn't have to work so hard this semester I would consider attempting to write some code for a laplace transform... then maybe... just maybe they would be a bit more evenly matched.
 
This response is maybe a bit late but for all who want to know more about that theme:
I tested both and for me the winner is matlab. The GUI is a big advantage and the Graphs are nicer and better to handel.
An other reason is that MATLAB is much faster than octave. Where Matlab takes 430 sec for a certain calculation octave takes 1000 sec. remarkable!
 
Use python with scipy, numpy & matplotlib instead?

For a lot of things, its got most of the same functionality as MATLAB and octave and is better behaved than octave. I've debugged MATLAB in octave without much trouble before, so I don't think you'll run into much trouble learning on it.
 

Similar threads

Replies
1
Views
3K
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K