© Copyright 2000-2020 Source Code Online. Free Source Code and Scripts Downloads.
|Code Listing by Ben Mitch|
This is a script based progress bar for MATLAB, simple usage is very simple, more complex usage is available. multiple instances no problem.
NOTE: special consideration has been given to not slowing down your hyper-optimised loops, so you should find this better than the sort of progress bar you get for free in a box of cereal.
NOTE: updated 12/05/2010 to be even better (twice as good) at not slowing down your loops. i...
Same functionality as the MATLAB rref function, but quicker.
A = rand(200);
R1 = rref(A);
Elapsed time is 1.435837 seconds.
R2 = mex_rref(A);
Elapsed time is 0.012729...
Class CProgBar implements progress bar windows. Very handy for use from within MEX files. Quick too.
To create/select a figure, you would usually use a command such as "figure(1)". Trouble with this is that, if you run multiple scripts as part of an analysis, they can end up stamping on each others' figures. An alternative is to create...
To compute the Euclidean separation (L2 norm) between two sets of points in MATLAB can be slow and/or memory-hungry. In some cases (most particularly, if you are working with 2D, 3D or 4D data), this function will do it 2-4 times faster than the...
rgb(col) returns a Matlab RGB colour triplet [R G B] converted from 'col'.
'col' can be:
an [R G B] triplet (unchanged)
a colour name, e.g. 'pale orange'
a matlab colour char (k,r,...)
a QBASIC colour code...
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.