[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: looping through sequential cell names
From: |
siko1056 |
Subject: |
Re: looping through sequential cell names |
Date: |
Mon, 17 Aug 2015 22:52:51 -0700 (PDT) |
Hi,
maybe you can try the "eval" command:
y1 = 1;
y2 = 2;
y3 = 3;
for i = 1:3
eval (['y', num2str(i)])
end
HTH,
Kai
--
View this message in context:
http://octave.1599824.n4.nabble.com/looping-through-sequential-cell-names-tp4672169p4672174.html
Sent from the Octave - General mailing list archive at Nabble.com.