Octave / Matlab: Extend a vector making it repeat itself?
The function you’re looking for is repmat(). v10 = repmat(v, 1, 5)
The function you’re looking for is repmat(). v10 = repmat(v, 1, 5)
I had to add setenv(“GNUTERM”,”X11″) to OCTAVE_HOME/share/octave/site/m/startup/octaverc (OCTAVE_HOME usually is /usr/local) to make it work permanently. Solution found and more details on: http://www.mac-forums.com/forums/os-x-apps-games/242997-plots-octave-dont-work.html
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 … Read more