create a 3x3 cell array with random numbers
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (1)
Sean de Wolski
el 2 de Dic. de 2014
num2cell(rand(3))
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!