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!