Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Function values at each step of loop

Status
Not open for further replies.

YoungTurk

Mechanical
Jul 16, 2004
333
I would like to capture the value of a function evaluated at each step of a while loop. It seems I should write the values to a vector, but I can't figure out how to write the values to a vector (dependent on indeterminate number of iterations of the loop) and then have the vector available outside of the while loop.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor