What is difference between these two commands of MATLAB.

Please tell me difference between these two commands of MATLAB.
p = rand(N(k),2);
p = rand(100, N(k));

 Akzeptierte Antwort

Joseph Cheng
Joseph Cheng am 4 Feb. 2016
Bearbeitet: Joseph Cheng am 4 Feb. 2016

0 Stimmen

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.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by