Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hello there,
I am using genfit to come with the coefficients for a best fit equation for points I have created. However, when I try to plot the graph using the coefficients to see how accurate is the equation as compared to the points in the same mathcad sheet it won't plot. Can someone help me out. I have attached the mathcad sheet. Thanks.
Solved! Go to Solution.
Hello, Ranjan,
Have you defined your variable (x) ?
Cordially.
Denis
Tried defining the variable x but still no luck.
Ranjan
You have defined ORIGIN=1 but you try to use 0 as the first element in the cg1 vector.
I am not clear on this point. Can you please explain. Thanks.
Ranjan
Have a look at the attached.
Ranjan Nadarajah wrote:
I am not clear on this point. Can you please explain. Thanks.
You may (re)define ORIGIN globally to zero as Mike has done, but the most easiest way to make your sheet work is to simply delete the line below the definition of your variables which says ORIGIN:=1. You don't need it and you never make use of it in your sheet anyway. So get rid of it.
Ranjan Nadarajah wrote:
I am not clear on this point. Can you please explain. Thanks.
Ranjan
You got it spot on Harvey
Wouldn't a simple power function make a much better fit?
I cannot use a power law as I require the curve fit I am using to input the coefficients into a finite element analysis program.
Ranjan