Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert function of range variables to a vector

Status
Not open for further replies.

spinoza77

Mechanical
Joined
Apr 18, 2007
Messages
3
Location
US
Hello,

I am evaluating several functions with a range of variables ( x:=0...100 ). Now I want to pick the i_th element from these functions and use that as an input to a new function that evaluates a range of variables. I would like to do this iteratively, so that the new function then picks the i+1 element and evaluates the same range of variables.

This would be easy if the functions were arrays, but they are range variables. Therefore, I can't sequentially pick elements and use them in a new function.

Or can I? Is there a way to convert the results from a function with range variables into a vector?

Thank You,
Spinoza
 
Thank you for the response. Could you explain how to use the V[x:=x command.
 
No need for the explanation. Got it. Thanks again.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top