2nd order polynomial fitting with NaNs
Mostrar comentarios más antiguos
I want to fit a 2nd order polynomial to my data
x=(1,256) y=(1,256)
Only 40 cells from each side of the y array include values, the rest are NaN. So far i have used the polyfit() function but it does not work when the y array contains NaNs. Another function is interp1() which works properly but the fitting methods are limited (no polynomial option).
Are you aware of any other function that is suitable for this problem?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Get Started with Curve Fitting Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!