photo

Digaamber Dhamija


Last seen: mer än 3 år ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Answered
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...

ungefär 4 år ago | 0

| accepted

Question


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 ...

ungefär 4 år ago | 2 answers | 0

2

answers