create a 3x3 cell array with random numbers
Ältere Kommentare anzeigen
hi, i have the follow variable mx = {randi(50,600,1); randi(360,60,1); randi(50,60,1)} this is a 3x1 cell array. I want to create a 3x3 cell array with random numbers. how can i do that?
thanks
Akzeptierte Antwort
Weitere Antworten (1)
Sean de Wolski
am 2 Dez. 2014
num2cell(rand(3))
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!