Showing posts with label Generating alternate numbers periodically. Show all posts
Showing posts with label Generating alternate numbers periodically. Show all posts
Tuesday, April 8, 2008
Generating alternate numbers periodically
For getting the alternate numbers in loop periodically is obtained by Quotient & Remainder function. If u like to generate the numbers 0,1,2 periodically means connect the Loop iteration (while or for loop based on usage) terminal to Quotient & Remainder function x input & create constant 3 on y input(constant should be addition of one with last number in the periodic numbers).See picture1 for Example(four periods of 0,1,2 numbers generation).
Subscribe to:
Posts (Atom)