Row vector into array.

 Risposta accettata

Mischa Kim
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)

Categorie

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by