[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A question about making variables
From: |
Robert Durkacz |
Subject: |
Re: A question about making variables |
Date: |
Wed, 25 Jul 2012 23:46:21 +1000 |
On Wed, Jul 25, 2012 at 1:14 AM, vilsu <address@hidden> wrote:
...
> I have a "for" loop in wich "i" ranges from 1 to say 5000.
>
> How can I make as many variables with the help of "i" to keep them in Octave
> memory?
Don't you just want an array, which is called a vector or matrix in
octave. It is immediate, ie just say
a(100) =1
and the vector a magically exists up to element 100.