how to view the matrix in 2 dimension of the following values
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
how to view the matrix in 2 dimension of the following values
<5x486x586 double>
댓글 수: 2
Walter Roberson
2013년 1월 10일
That is a 3-dimensional matrix. You could view slices of it in 2D.
Are you wanting to look at the values, or are you wanting to draw a graph?
ajith
2013년 1월 10일
답변 (1개)
Andrei Bobrov
2013년 1월 10일
편집: Andrei Bobrov
2013년 1월 10일
d = randi(1000,5,486,586); % your array
out = reshape(d,size(d,1),[]); %the horizontal orientation
or
d1 = num2cell(d,[1 2]);
out = cat(1,d1{:}); % the vertical orientation
댓글 수: 0
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!