|
Prev: WWW.NICEDVDER.COM FREE SHIPPING,DVD,DVDBOXSET,MOVIE,WHOLESALE,DROPSHIP,DROPSHIPPER,DVDS WHOLESALE,DVD WHOLESALER, DVD CHINA WHOLESALER,CHINA DROPSHIPPER,DVDS DROPSHIPPER,CHINA DVD DROPSHIPPING,CHINA DVD DROPSHIPPER,MOVIE,TV SERIES, TV SHOWS,DVD MOVI
Next: authentic nike dunks wholesale
From: Rahul Uk on 7 May 2008 01:44 can we apply any conditions before starting a for loop.... for eg can we check if the variable in the loop is less than a particular value??? for if(i<10) i = j+1:1:10 else end
From: French Caro on 7 May 2008 03:00 "Rahul Uk" <rauluk23mj(a)gmail.com> wrote in message <fvrfj3$dj2$1(a)fred.mathworks.com>... > can we apply any conditions before starting a for loop.... > > for eg can we check if the variable in the loop is less than > a particular value??? > > for if(i<10) i = j+1:1:10 > else end > No you can't do that but btw what do you really want to do ? if you just type for i=j+1:1:10 The loop is done from j+1 to 10 except if j+1>10 then nothing is done.
From: someone on 7 May 2008 13:34 "Rahul Uk" <rauluk23mj(a)gmail.com> wrote in message <fvrfj3 $dj2$1(a)fred.mathworks.com>... > can we apply any conditions before starting a for loop.... > > for eg can we check if the variable in the loop is less than > a particular value??? > > for if(i<10) i = j+1:1:10 > else end > Maybe you can do what you want using a while loop (with an optional break statement).
|
Pages: 1 Prev: WWW.NICEDVDER.COM FREE SHIPPING,DVD,DVDBOXSET,MOVIE,WHOLESALE,DROPSHIP,DROPSHIPPER,DVDS WHOLESALE,DVD WHOLESALER, DVD CHINA WHOLESALER,CHINA DROPSHIPPER,DVDS DROPSHIPPER,CHINA DVD DROPSHIPPING,CHINA DVD DROPSHIPPER,MOVIE,TV SERIES, TV SHOWS,DVD MOVI Next: authentic nike dunks wholesale |