Hello.
Lets say i have a A = 3000×1 matrix, and a matrix N = [49; 106; 198] where 49,106 and 198 is the locations of a variables in A. Then assign a value to that specific variable.
So i could assign the first value like A(49,1) = x and the second A(106,1) = y .
My problem is that i don't know the number of variables in N, and i don't know which spot in A i should assign the respective values to.
Thank you!
Best Answer