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

2 visualizzazioni (ultimi 30 giorni)
Sy
Sy il 12 Giu 2012
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!

Risposte (2)

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

John D'Errico
John D'Errico il 12 Giu 2012
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.

Categorie

Scopri di più su Get Started with Curve Fitting Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by