You can read this link. The code is good for the 1×72 double but it's not a general code because I could have 1xn double. How can I do in this situation? The question is that it's not always a 8×8 matrix but it's depend on the number of zero in the 1xn double. The problem is that I have in general 1xn double and not 1×72. So the reshape (8,8) it's not good in general. The important thing is that when there is a zero value, it's start a new rows: always. This is the important thing.
MATLAB: Row vector, array matrix
arrayrow vector
Best Answer