Path: news.mathworks.com!not-for-mail
From: "Archana Ananthanarayan" <archana1985_ms@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Jumping to the next interval
Date: Thu, 15 May 2008 17:32:02 +0000 (UTC)
Organization: University of Mysore
Lines: 9
Message-ID: <g0hs2i$ntm$1@fred.mathworks.com>
Reply-To: "Archana Ananthanarayan" <archana1985_ms@hotmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1210872722 24502 172.30.248.35 (15 May 2008 17:32:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 15 May 2008 17:32:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1359923
Xref: news.mathworks.com comp.soft-sys.matlab:468646


My problem goes like this :

I've a number line extending say from 0 to 600. I've divided
the line into equal intervals of 200 each. now i'm at 151 of
the 1st section. i need to jump to the next section say
number 201(of course - due to a condition), how do i
calculate the 1st number of the next interval? (that is 201)!

Thanks in Advance!