What is your favourite MATLAB/Octave programming trick? -
i think agree matlab language not pretty, or particularly consistent. nevermind! still have use things done.
what favourite tricks making things easier? let's have 1 per answer people can vote them if agree. also, try illustrate answer example.
using built-in profiler see hot parts of code are:
profile on % lines of code profile off profile viewer
or using built in tic
, toc
quick timings:
tic; % lines of code toc;
Comments
Post a Comment