Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
I have written a for loop code and I want to assign the final answer to a variable that is out side the code so I can use it else where in the program.
I have attached the file. The value returned by k is the final answer
Thanks!
Solved! Go to Solution.
Make sure you have an index into the vector and plot it against that:
You can also plot two (equal length!) vectors against each other:
Success!
Luc
And if you want it simpler, without explicitly defining a range:
Success!
Luc
Even simpler by using the undocumented trick to turn a range into a vector by using inline evaluation:
Make sure you have an index into the vector and plot it against that:
You can also plot two (equal length!) vectors against each other:
Success!
Luc