I'm trying to do this
m1 = [1, 2, 3, 4, 5, 6, 7];m2 = 'A';m1(3) = m2;
so that m1 will be
[1, 2, A, 4, 5, 6, 7]
Instead of what I actually get.
[1, 2, 65, 4, 5, 6, 7]
matrix array
m1 = [1, 2, 3, 4, 5, 6, 7];m2 = 'A';m1(3) = m2;
[1, 2, A, 4, 5, 6, 7]
[1, 2, 65, 4, 5, 6, 7]
Best Answer