cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Graphing not working Using Genfit Coefficients

ptc-5031264
1-Newbie

Graphing not working Using Genfit Coefficients

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.

ACCEPTED SOLUTION

Accepted Solutions
MikeArmstrong
5-Regular Member
(To:ptc-5031264)

Have a look at the attached.

View solution in original post

10 REPLIES 10

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

MikeArmstrong
5-Regular Member
(To:ptc-5031264)

Have a look at the attached.

Werner_E
25-Diamond I
(To:ptc-5031264)

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

wrong_index.png

You got it spot on Harvey

Werner_E
25-Diamond I
(To:ptc-5031264)

Wouldn't a simple power function make a much better fit?

11.06.png

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

Announcements

Top Tags