I have one doubt, i have t=1x16x32 double, i need to store these into matrix form.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
kaavya subramani
am 1 Sep. 2016
Kommentiert: kaavya subramani
am 1 Sep. 2016
(i.e) i have value(:,:,1) column 1 to 16 (values: 1 4 6 7...............till 16th value) but now i want to be like matrix=[32x16]. plz help me
0 Kommentare
Akzeptierte Antwort
michio
am 1 Sep. 2016
squeeze function could be of help. Please try
t = rand(1,16,32);
t_new = squeeze(t);
whos t_new
32x16 matrix can be obtained by transposing it, but is this what you want?
t_new'
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!