index = 0
asha g
dend_15 at yahoo.com
Tue Apr 7 02:45:19 CDT 2009
I did just that - changed from N = 1 to N= 12
Asha
Goals too clearly defined can become blinkers. Mary Catherine Bateson
--- On Tue, 7/4/09, Przemek Klosowski <przemek at jazz.ncnr.nist.gov> wrote:
> From: Przemek Klosowski <przemek at jazz.ncnr.nist.gov>
> Subject: Re: index = 0
> To: dend_15 at yahoo.com
> Date: Tuesday, 7 April, 2009, 12:53 AM
> You can't have an array with indices
> starting at zero. You have to
> rewrite your code so that the boundary index is 1 and N+2.
> For a quick
> and easy solution you could write a function that
> accesses your array:
>
> function e=v(n);e=v(n+1);endfunction
>
> but if you wanted to write as well as read you'd need more
> code.
>
Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
More information about the Help-octave
mailing list