How to reshape a matrix
Ältere Kommentare anzeigen
Hello , i've got a k by l by m by n by o matrix and i want to reshape it into a vector.. Any ideas?
Akzeptierte Antwort
Weitere Antworten (1)
A = rand(2,2,2,2);
B = A(:);
size(B)
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!