Row vector into array.
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Francesco
am 21 Feb. 2014
Bearbeitet: Francesco
am 22 Mär. 2014
I have this A variable made up by 1x72 double.
0 Kommentare
Akzeptierte Antwort
Mischa Kim
am 21 Feb. 2014
Bearbeitet: Mischa Kim
am 21 Feb. 2014
Francesco, you could use
A(A == 0) = [];
B = reshape(A,8,8)
for your specially formatted matrix A, where the zeros are located at those very same positions.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!