How do I change the array of 200x2x100 to 100x2x200?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
JIWON LEE
il 28 Apr 2021
Modificato: Subhadeep Koley
il 28 Apr 2021
In Python, I use "np.transpose" code, but I don't know how to use it on Matlab..
0 Commenti
Risposta accettata
Subhadeep Koley
il 28 Apr 2021
Modificato: Subhadeep Koley
il 28 Apr 2021
% Generate demo data
data = rand(200, 2, 100);
% Permute the data
newData = permute(data, [3 2 1]);
size(data)
size(newData)
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Call Python from MATLAB in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!