Feeds
回答済み
Expand 1-D array to 2-D matrix using 'ones' function and colon ':'
Thanks to Daniel and Oleg! I was mostly confused with the role of ones(1,5) here, but came to realize how it works when I read ...
Expand 1-D array to 2-D matrix using 'ones' function and colon ':'
Thanks to Daniel and Oleg! I was mostly confused with the role of ones(1,5) here, but came to realize how it works when I read ...
14年以上 前 | 0
質問
Expand 1-D array to 2-D matrix using 'ones' function and colon ':'
Example: matrixA = 6:10; matrixA = matrixA(ones(1,5), :); or: matrixB = (6:10)'; matrixB = matrixB(:, ones(1,...
14年以上 前 | 3 件の回答 | 0
