Feeds
回答済み
Replacing values in a matrix based on values in a column vector
Just in case anyone else has a similar problem, I found an even simpler solution. y = [2; 4; 1; 8]; yMat = 1:10 == y; which p...
Replacing values in a matrix based on values in a column vector
Just in case anyone else has a similar problem, I found an even simpler solution. y = [2; 4; 1; 8]; yMat = 1:10 == y; which p...
5年以上 前 | 0
| 採用済み
質問
Replacing values in a matrix based on values in a column vector
I have a column vector (with dimensions m x 1) which contains values from 1 to 10. I want to make a matrix yMat with dimension ...
5年以上 前 | 2 件の回答 | 0
