Rank: 3895 based on 10 downloads (last 30 days) and 2 files submitted
photo

Aamir Alaud-din

E-mail
Company/University
COMSATS Institute of Information Technology, Pakistan

Personal Profile:
Professional Interests:
Water Pollutants Modeling

 

Watch this Author's files

 

Files Posted by Aamir View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
02 Feb 2012 Random Number Generation Random integers (positive as well as negative) can be generated. Author: Aamir Alaud-din demo, finance, mathematics, measurement, statistics 7 1
01 Feb 2012 Shuffle Numbers Shuffles numbers in a given matrix or vector Author: Aamir Alaud-din statistics, finance, mathematics, rand, shuffle, randomization 3 2
Comments and Ratings on Aamir's Files View all
Updated File Comment by Comments Rating
21 Nov 2012 Shuffle Numbers Shuffles numbers in a given matrix or vector Author: Aamir Alaud-din Simon, Jan

The function "vec2mat" is unknown.

02 Feb 2012 Random Number Generation Random integers (positive as well as negative) can be generated. Author: Aamir Alaud-din Daniel

could you please explain the difference to randi()?

02 Feb 2012 Shuffle Numbers Shuffles numbers in a given matrix or vector Author: Aamir Alaud-din Jos (10584)

This functionality has been around on the File Exchange for years. For instance, you might take a look at my RANDSWAP function
http://www.mathworks.nl/matlabcentral/fileexchange/12621-randswap

or RANDMAT by Peter Bodin
http://www.mathworks.nl/matlabcentral/fileexchange/7203-randmat

Here is the rather trivial one-liner for shuffling any array X (numbers, ND, cell, string, whatever):

X(randperm(numel(X)) = X ;

which maintains everything, except the order!

Your help section is pretty good; I'd suggest you try to follow ML standards, e.g., by creatin a proper H1 line, and example, and a See Also section (take a look at the help of any of the main ML functions)

Top Tags Applied by Aamir
finance, mathematics, statistics, demo, measurement
Files Tagged by Aamir View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
02 Feb 2012 Random Number Generation Random integers (positive as well as negative) can be generated. Author: Aamir Alaud-din demo, finance, mathematics, measurement, statistics 7 1
01 Feb 2012 Shuffle Numbers Shuffles numbers in a given matrix or vector Author: Aamir Alaud-din statistics, finance, mathematics, rand, shuffle, randomization 3 2

Contact us