How to call values from a table and then do the minerr() calculation?
- July 6, 2013
- 9 replies
- 3522 views
Hi all:
I am a MathCad new user and wanna ask questions about achieving the concept.
The concept is (pls see the attached .xls file):
Step 1: I will import the data from .xls to MathCad.==>I know how to do it.
X-parameter (1E15,2E15,...,9E15) is a function of Y-parameter (0.3,0.35,...,3).
Step 2: 5 guess values will be defined and then the corresponding value will be selected.==>Don't know how to do it yet.
For example, if 1E15 is chosen, 1,2,...15 from Y (0.3,0.35,...,3) will be chosen.
Then all these values will be calculated through an equation to obtain "t" as a function of Y-parameter (0.3,0.35,...,3).
Step3: Then minerr() will be used to compare the error between caucluated "t" and measured "t" (green column) to find out the best approach.
The problem to me is how to call values from the excel table in each loop and then use minerr() to find the best 5 X-parameter by comparing with measured "t".
Does anyone try the similar concept and willing to share your idea?
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

