3 ms·
This post compares Octave, not MATLAB. Similar languages, but completely different implementations. I'd bet that if it were tested in MATLAB, it'd be much fas
by ibgeek 15y ago
This post compares Octave, not MATLAB. Similar languages, but completely different implementations. I'd bet that if it were tested in MATLAB, it'd be much faster.
- Mavrik 15y agoI've observed (when doing Computer Vision algorithms) that MATLAB can be 10-times faster, in certain very tight loop calculations even more than 100-times faster than Octave. So I don't think those are really representative of MATLAB performance.
- brusic 15y agoJust joined hacker news in order to comment. You are correct, the MATLAB code was tested in Octave. I would not have worded the title HN is such a way. The goal is to learn the algorithms involved, not trying to come up with the fastest version possible. The interesting part is actually the performance of the JVM, not the comparison between languages.