help-octave
[Top][All Lists]
Advanced

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

looping through sequential cell names


From: djbrennan
Subject: looping through sequential cell names
Date: Mon, 17 Aug 2015 17:59:20 -0700 (PDT)

Hello All,
I have a data file that produces many cell arrays with sequential names:
Y, Y1, Y2, Y3, ....... Y100.... etc.

I need to execute a series of calculations on each if these cell arrays. I
would loke to write some type of loop that will operate on each cell array
in succession, but don't know how.

I envision something along the lines of:
for i=1:100
    execute calculations on Yi
endfor

I know this is completely incorrect, though I hope it explains what I wish
to accomplish.

Any help is greatly appreciated.



--
View this message in context: 
http://octave.1599824.n4.nabble.com/looping-through-sequential-cell-names-tp4672169.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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