3 ms·
I've never played with Octave much, so I don't know how compatible it is; can you just directly copy Matlab code, or do you need to do translations? I'm not an
by mindcrime 8y ago
I've never played with Octave much, so I don't know how compatible it is; can you just directly copy Matlab code, or do you need to do translations?
I'm not an expert, but I believe Octave is pretty compatible, at least with the core language. I think there are some "extra" features and libraries that don't exist in Octave, but it should be fine for many scenarios. FWIW, the earlier version of Andrew Ng's machine learning class on Coursera was Matlab / Octave based, and students using Octave were able to do everything required there with no problems.
You can find some more detailed comparison here:
https://en.wikibooks.org/wiki/MATLAB_Programming/Differences_between_Octave_and_MATLAB https://en.wikibooks.org/wiki/MATLAB_Programming/Differences...
- kkylin 8y agoIn my experience one can pretty much just copy and paste, and most things work (though likely not 100%). There are two ways in which Octave still falls short: (1) Matlab is faster, as it has (I believe) JIT compilation whereas Octave doesn't; and (2) all things related to plotting & graphing are still better in Matlab IMO, though that may be changing. This may not be important for learning DSP, but does matter in day to day scientific work.