Creation of fuction y=0
Doug Stewart
dastew at sympatico.ca
Mon Jun 2 10:21:21 CDT 2008
alvaro gonzalez wrote:
> Hi People.
> My problem is I want create in a time-series about variability,
> up-down above 0 (as y=0 represent to line), but the vector 0 I don't
> know create!!!. the form that is create to matriz produce error!!!.
> Thanks for all from Chile
> ALvaro Gonzalez
> ------------------------------------------------------------------------
y(1000) =0;
a= rand(1000)-.5;
y=y+a;
Is this what you want?
More information about the Help-octave
mailing list