create a 3x3 cell array with random numbers
Show older comments
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
Accepted Answer
More Answers (1)
Sean de Wolski
on 2 Dec 2014
num2cell(rand(3))
Categories
Find more on Logical 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!