Reshape array 3 variables into 2?
Ältere Kommentare anzeigen
Hi,
I have an array of A=1x100x50.
How can I reshape it in B=100x50?
I have tried with
B=reshape(A,[100, 50]);
But I get the error message
Error using reshape To RESHAPE the number of elements must not change.
Thanks in advance for your reply.
Akzeptierte Antwort
Weitere Antworten (1)
Abhishek Ballaney
am 30 Jan. 2018
0 Stimmen
https://in.mathworks.com/help/matlab/ref/reshape.html
Kategorien
Mehr zu Multidimensional Arrays 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!