Why is value (2,2) of this matrix getting assigned to 1 instead of 9 in this console output? How can I make it take values greater than 1?
>> myMat = ~eye(3)myMat = 0 1 1 1 0 1 1 1 0>> myMat(2,2) = 9myMat = 0 1 1 1 1 1 1 1 0
Best Answer