hello!
do u have any idea, what condition to put in MATLAB in order to find out whether a variable x is vector or not? i have tried to put: if x==x( , but it always shows affirmative.
Thank you....
Last edited by inzaghina; May 23rd 2009 at 11:54 AM.
Reason: .
hello!
do u have any idea, what condition to put in MATLAB in order to find out whether a variable x is vector or not? i have tried to put: if x==x( , but it always shows affirmative.
Thank you....
Yes that works too... I generally tend to use size(), since it can tell me the exact dimensions... length() cant distinguish between row and column vector