Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock 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
Apr 18, 2007
3
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
 
Replies continue below

Recommended for you

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