How do you do a "moving 5pt 3rd order fit"?

2 次查看(过去 30 天)
I want to model the upshift of a curve using a moving 5pt 3rd order fit... Does anyone know how this is done?
Thanks in advance for any feedback you can give me!

回答(2 个)

Walter Roberson
Walter Roberson 2012-6-12
A moving five point third order fit sounds to me like a cubic spline.

John D'Errico
John D'Errico 2012-6-12
I'm not sure what upshift means, at least not in context of a manual transmission for a car.
You can use conv or filter to do a moving fit, so a Savitsky-Golay filter of some sort. It depends on what you are looking for.
If by upshift, you really mean the slope of the curve, I have movingslope posted on the FEX. It alows you to specify the support of the Savitsky-Golay model, as well as the order.

类别

Help CenterFile Exchange 中查找有关 Get Started with Curve Fitting Toolbox 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by