matrix reshaping
Mostra commenti meno recenti
Does someone know how to reshape an array for example: A=[1 5; 2 4; 5 6] to an array B=(1,6) to be like this: B=[1 5 2 4 5 6];
Thank you...
Risposta accettata
Più risposte (2)
Honglei Chen
il 17 Nov 2011
You can try
B = A.';
B = B(:).';
athpapa -
il 17 Nov 2011
0 voti
Categorie
Scopri di più su Matrices and Arrays in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!