Date: Jun 18, 2012 10:26 PM
Author: Michael
Subject: Re: Multiplying Double and a Logical
Alright,
I tried using
>> plot(x(l),y(l))
>> x=[1 2 3 NaN];
y=[1 3 5 7];
l=logical(1 1 0 1);
plot(x(l),y(l))
and I got an error:
l=logical(1 1 0 1);
|
Error: Unexpected MATLAB expression.
Just to be clear I think what you've told me to do is EXACTLY what I want. The logical structure will filter information out I don't want!
Thank for the help, but if you know how to alleviate this error it would be most helpful! I"m reading the Log SS section now!
Thank you
-Michael