polyVal2D and polyFit2D
Often it's necessary to fit or evaluate a function with 2 dimensions. Use polyFit2D.m to fit a 2D polynomila to data and polyVal2D.m to evaluate it. Fun!
These functions are explained in detail here:
http://poquitopicante.blogspot.com/2013/03/horners-method-in-2d.html
They are also hosted in a Gist on Github here:
https://gist.github.com/mikofski/5159267
Citar como
Mark Mikofski (2024). polyVal2D and polyFit2D (https://www.mathworks.com/matlabcentral/fileexchange/41097-polyval2d-and-polyfit2d), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Mathematics > Elementary Math > Polynomials >
Etiquetas
Agradecimientos
Inspirado por: 2D Weighted Polynomial Fitting and Evaluation, polyfitn
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.