Row vector into array.
10 views (last 30 days)
Show older comments
I have this A variable made up by 1x72 double.
0 Comments
Accepted Answer
Mischa Kim
on 21 Feb 2014
Edited: Mischa Kim
on 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.
More Answers (0)
See Also
Categories
Find more on Structures in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!