Post Reply 
Syntax Problems with map() and apply()
05-28-2016, 08:45 PM
Post: #14
RE: Syntax Problems with map() and apply()
I don't have documentation for rand() or ranm() so it is 'trial and error.' (I don't care about the difference between a row or column vector depending on how it is stored yet.) When I use simple cases of ranm(n,1,n), I see 'sample with replacement,' not shuffling. For example, i run ranm(5,1,5) and I get [4 5 2 3 5], so it is not shuffling but sampling with replacement.

I might be mis-using this function but I have no documentation and I am following the posted pattern of ranm(n,1,n) to experiment.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Syntax Problems with map() and apply() - mark4flies - 05-28-2016 08:45 PM



User(s) browsing this thread: 1 Guest(s)