What is difference between these two commands of MATLAB.
1 view (last 30 days)
Show older comments
Please tell me difference between these two commands of MATLAB.
p = rand(N(k),2);
p = rand(100, N(k));
1 Comment
Accepted Answer
Joseph Cheng
on 4 Feb 2016
Edited: Joseph Cheng
on 4 Feb 2016
if you look up the documentation you'll see what the inputs mean. both will give you different P's of the input sizes m x n of random numbers between 0 and 1.
0 Comments
More Answers (0)
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!