polyfix(x,y,n,xfix,​yfix,xder,dydx)

Fit polynomial p to data, but match exactly at one or more points
4,1K download
Aggiornato 20 gen 2020

Visualizza la licenza

Nota dell'editore: This file was selected as MATLAB Central Pick of the Week

Sometimes we want to fit a polynomial to some data, but want to force a perfect match to some known values at one or more points. This function returns such a polynomial.

Cita come

Are Mjaavatten (2024). polyfix(x,y,n,xfix,yfix,xder,dydx) (https://www.mathworks.com/matlabcentral/fileexchange/54207-polyfix-x-y-n-xfix-yfix-xder-dydx), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2012b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Polynomials in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.3.1.2

Changed image

1.3.1.1

Added image

1.3.1.0

Fixed the error in version 1.3.0.0 pointed out by Jacob Bresler.

1.3.0.0

As requested by Jacob Bresler, I have added optional outputs S and mu, to make the output from polyfix conform with polyfit

1.2.0.0

Fixed trivial errors in the help section

1.1.0.0

Version 1.1 includes an option for specifying derivatives. p is now a row vector, for consistency with polyfit

1.0.0.0