[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ranges (was Numerical issues with sin()/cos() )
From: |
Francesco Potortì |
Subject: |
Re: ranges (was Numerical issues with sin()/cos() ) |
Date: |
Fri, 30 Mar 2018 18:20:10 +0200 |
>> for ct =1:inf
>
>1:inf is not valid syntax. Ranges need finite limits and are expanded
>to an array as soon as they used, as far as I can tell.
Oh, what you want can be done like this:
while true
if condition break;
endwhile
--
Francesco Potortì (ricercatore) Voice: +39.050.621.3058
ISTI - Area della ricerca CNR Mobile: +39.348.8283.107
via G. Moruzzi 1, I-56124 Pisa Skype: wnlabisti
(entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it