04-30-2012 06:04 PM
Sorry, just a quick question:
I have written a code to generate a stair case, so the user enter the start-stop-step values.
What is a fast solution to make a zero step between each step of the stair case?
that is for example 0 - 0.2 - 0 - 0.4 - 0 - 0.6 etc....
sorry if the question is too trivial...thank you. G.
Solved! Go to Solution.
04-30-2012 08:18 PM
One way which comes to mind it to use your step generator on odd numbered steps and insert the zero on the even numbered steps. Quotient and remainder and a case structure will do it.
Lynn
05-01-2012 01:39 AM
yes, it works!! 🙂
thn you....G.