Digaamber Dhamija
Followers: 0 Following: 0
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...
4 years 前 | 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 ...
4 years 前 | 2 个回答 | 0