05-19-2011 05:41 AM
Hello,
I want to build an Array tu use in a XY graph.
The array must have N elements separated by 0.1. Example: (N=5) 0 0.1 0.2 0.3 0.4
Can anyone help me with this?
Best regards.
Carlos
05-19-2011 06:28 AM
Carlos,
here's your solution.
Verbal this means:
Use a For-loop containing a constant of 0.1 and a multiply node. Multiply the constant and the iteration counter of the loop. Wire the product to the loops border. From outside connect a display and you're done.
semicode:
For i = 0 to N-1
Array = 0.1*i
Next i
Return Array[]
BTW. this is a Q that should be targeted to the global forums....