create a 3x3 cell array with random numbers
显示 更早的评论
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
采纳的回答
更多回答(1 个)
Sean de Wolski
2014-12-2
num2cell(rand(3))
类别
在 帮助中心 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!