help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Qustion about data range selection


From: c.
Subject: Re: Qustion about data range selection
Date: Sun, 8 Jan 2012 12:39:22 +0100

On 8 Jan 2012, at 12:06, Klaartje en Mathieu Melenhorst wrote:

>  
> It didn't work; could that be due to the fact that I'm using 3.0.1?
> Is there a way to solve this in 3.0.1 if that's the case?
>  
> Help is appreciated, Mathieu


t = linspace(0, 4*pi, 100);
y = (t <= 2*pi ) .* sin(t) +  !(t <= 2*pi ) .* cos(t);

HTH,
c.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]