Read out parameter values of a polynomial compensation curve.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Mepe
am 6 Mär. 2020
Kommentiert: Mepe
am 6 Mär. 2020
The following coordinates are given:
y=[96.9;67.6;36.1;120.2;40.3;51.7;71.0]
x=[216.6;318.33;418.3;535;636.66;753.3;856.66]
A third order polynomial compensation curve is now to be laid through these points.
It would be important here that the coefficients (p1 to p4) are stored in separate variables.
How exactly could I do that?
0 Kommentare
Akzeptierte Antwort
Jakob B. Nielsen
am 6 Mär. 2020
myfit=fit(x,y,'poly3');
From there you can extract the coefficients as myfit.p1, myfit.p2 etc.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Interpolation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!