Feeds
已回答
If I have a matrix of 100 rows by 5 columns, how can I make it a 1 row x 500 column matrix, where each row (1x5) is placed one after the other to make a 1x500 matrix?
I appreciate all the suggestions.
If I have a matrix of 100 rows by 5 columns, how can I make it a 1 row x 500 column matrix, where each row (1x5) is placed one after the other to make a 1x500 matrix?
I appreciate all the suggestions.
8 years 前 | 0
提问
If I have a matrix of 100 rows by 5 columns, how can I make it a 1 row x 500 column matrix, where each row (1x5) is placed one after the other to make a 1x500 matrix?
[r,c] = size(data);%(100 rows by 5 columns) datanew = zeros(1,500)% for i = 1:r startcol = (1+(i-1)*5); end...
8 years 前 | 4 个回答 | 0