help-octave
[Top][All Lists]
Advanced

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

Re: problems with the y=0 function


From: Doug Stewart
Subject: Re: problems with the y=0 function
Date: Mon, 02 Jun 2008 18:42:52 -0400
User-agent: Thunderbird 2.0.0.14 (X11/20080505)

alvaro gonzalez wrote:
Hi .
my problem is that for programate the line 0 in octave can be this form:
>y(1000) =0; the line y=0 be in all range [0:1000], but I like that the line can be in the range 1901:2005 for example, for add to time series up -down the line 0!!,
How is the form of programate this sequence?.
Thanks People.
Alvaro Gonzalez. R



x=1900:2005;
y= rand(length(x))-.5
plot(x,y)

Is this what you want?


reply via email to

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