Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

how to view the matrix in 2 dimension of the following values

1 Ansicht (letzte 30 Tage)
ajith
ajith am 10 Jan. 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
how to view the matrix in 2 dimension of the following values
<5x486x586 double>
  2 Kommentare
Walter Roberson
Walter Roberson am 10 Jan. 2013
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
ajith am 10 Jan. 2013
I WANT TO KNOW THE VALUES

Antworten (1)

Andrei Bobrov
Andrei Bobrov am 10 Jan. 2013
Bearbeitet: Andrei Bobrov am 10 Jan. 2013
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

Diese Frage ist geschlossen.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by