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
SUMMARY

The discussion compares GNU Octave and MATLAB, highlighting that while Octave claims high compatibility with MATLAB, significant differences exist. Octave can parse MATLAB code, but MATLAB cannot fully interpret Octave code, leading to potential issues. Users report MATLAB's superior plotting capabilities, GUI, and overall performance, with MATLAB completing calculations significantly faster than Octave. The consensus is that MATLAB is the preferred choice for serious work, particularly due to its comprehensive toolset and reliability.

PREREQUISITES
  • Understanding of MATLAB 2023 features and functionalities
  • Familiarity with GNU Octave 6.4 capabilities
  • Basic knowledge of UNIX operating systems
  • Awareness of Python libraries such as SciPy, NumPy, and Matplotlib
NEXT STEPS
  • Research the differences between MATLAB and Octave in detail
  • Explore MATLAB's advanced plotting features and GUI design
  • Learn about the performance benchmarks of MATLAB vs. Octave
  • Investigate Python's SciPy and NumPy for alternatives to MATLAB and Octave
USEFUL FOR

This discussion is beneficial for software developers, data analysts, and researchers who are deciding between using GNU Octave and MATLAB for numerical computing and data visualization tasks.

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
720
  • · 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