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年 前 | 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年 前 | 4 件の回答 | 0