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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Better Fit

awibroe
14-Alexandrite

Better Fit

Hi to all,

 

In the attached (MCP3) file, can anyone give me some suggestions on how to get a better plot of f(x)? I have tried varying splines but the plot is quite erratic toward the end where as I would expect it to be quite uniform.

 

Thanks,

 

Andy

1 ACCEPTED SOLUTION

Accepted Solutions

I guess a polynomial of 9th degree is too wavy, too?

Its interesting that we can even demand for a higher order polynomial:

B1.png

B2.png

View solution in original post

4 REPLIES 4
DJF
16-Pearl
16-Pearl
(To:awibroe)

Here's a Schumaker quadratic spline.  Bit of a kink at 80, but it's closer than what you had.

2018-04-21_9-07-56.jpg  

2018-04-21_9-08-59.jpg

 

I fit the quadratic and then fit that with a b-spline so you can use it easily.

4.0 and pdf attached.

 

Also, linear interpolation might be good enough for your data, but there's not much fun in that.

I guess a polynomial of 9th degree is too wavy, too?

Its interesting that we can even demand for a higher order polynomial:

B1.png

B2.png

LucMeekes
23-Emerald III
(To:awibroe)

Is this the measured filter characteristic  (X in Hz, Y in dB) of an elliptic low-pass filter? https://en.wikipedia.org/wiki/Elliptic_filter

Or a Tshebyshev low-pass filter? https://en.wikipedia.org/wiki/Chebyshev_filter

Then you should be able to find a better fitting with the corresponding filter formulae.

It would also seem then, that you did not measure enough points to accurately catch the passband ripple: considering the very steep roll-off after about 80 Hz I'd expect many more ripples in the passband.

Like this:

LM_20180422_Chebyshev.png

 

Success!
Luc

awibroe
14-Alexandrite
(To:LucMeekes)

Hi, no this is points on a stability curve that I’ve created in MC for a ship. I extracted the points to a fresh sheet to make this easier. Yes I guess I could have simulated more points...

Cheers

Andy
Top Tags