Row vector into array.
13 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have this A variable made up by 1x72 double.
0 Commenti
Risposta accettata
Mischa Kim
il 21 Feb 2014
Modificato: Mischa Kim
il 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.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Matrices and Arrays 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!