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

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -