FreeMat : How different is it from Octave?

In short, both GNU Octave and FreeMat are open-source alternatives to MATLAB. However, Octave is more mature and has wider community support. I also found this interesting article that compares MATLAB, Octave, FreeMat and SciLab. It does point out a few issues against FreeMat: It doesn’t support some functions (such as kron and pcg). It has limited 3-D graphics capabilities … Read more

Gradient Descent implementation in octave

What you’re doing in the first example in the second block you’ve missed out a step haven’t you? I am assuming you concatenated X with a vector of ones. The last example will work but can be vectorized even more to be more simple and efficient. I’ve assumed you only have 1 feature. it will … Read more

Differences between Octave and MATLAB

Rather than provide you with a complete list of differences, I’ll give you my view on the matter. If you read carefully the wiki page you provide, you’ll often see sentences like “Octave supports both, while MATLAB requires the first” etc. This shows that Octave’s developers try to make Octave syntax “superior” to MATLAB’s. This attitude makes … Read more