help-octave
[Top][All Lists]
Advanced

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

reference an index and use it as part of names


From: jacopo rocchi
Subject: reference an index and use it as part of names
Date: Wed, 21 Aug 2013 15:30:36 -0700 (PDT)

Hello, 
I have many array indexed like this:
v1
v2
v3
and so on. 
Is it possible to handle them in a for like this:

for i=1:N
operations on v_i
end

?

What I'm precisely asking is if it's possible to reference the index "i" in
the name of the vector, and how it has to be done. 
I've searched for this but didn't find any tips.
Thank you very much. 





--
View this message in context: 
http://octave.1599824.n4.nabble.com/reference-an-index-and-use-it-as-part-of-names-tp4656762.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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