Even when A is, say, 2 by 3 matrix, we have
A = [2 3 ; 1 6]
A(2) = 1
But if I really meant to get 1, I would have done
A(2,1)
So, if I am doing A(2) instead of A(2,1) most likely I am just making a mistake in my coding.
So, when A is a matrix, which is not just a vector, and when I did A(2), can I make Matlab to print warnings and pause, and not just assume I meant A(2,1) ?