Page 1 of 1

Subscripted assignment dimension mismatch

Posted: Fri Dec 16, 2016 9:35 pm
by matlab1
t

Re: Subscripted assignment dimension mismatch

Posted: Sun Dec 27, 2020 8:56 pm
by matlab1
The solution for this error is that ,

pay attention to the number of rows and columns in the matrix of your command.

For example

A(2,:) = B

If the number of columns of A and B are not same, generate this error.
Because you are filling the second row of A with B.