How to create 3d matrix from the 2d matrix?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi all,
I have a matrix of 251*27 dimension, that I want to store it in the new 3d one that has a dimension of 251*27*10. it means that each third dimension of the 10th should have 251*27. the command that I use which is not correct is :
the dim of geov is (251,27);
gridpav = nan(size(geov));
for i = 1:10
gridpav (:,:,i) = pav(i);
end
thanks for the help.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Discrete Data Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!