Curve fitting real functions
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
wallflower
el 10 de Dic. de 2020
Comentada: wallflower
el 4 de En. de 2021
When doing my research to see how are real functions fitted in MATLAB, no answer has been found. Only the fitting of complex functions is proposed. Why is that?
Thanks in advance :^)
8 comentarios
riccardo
el 10 de Dic. de 2020
The curve fitting tool seems to have the rational function as an option.
Alternatively, you could always revert to using "fzero" or "fminsearch", by converting your problem to minimising the residuals of:
<YourFunctionR>(f) * <denominator polynomial> - <numerator polynomial> = 0
Respuesta aceptada
Steven Lord
el 10 de Dic. de 2020
There is a collection of library models that can be used with functionality in Curve Fitting Toolbox. One type of model included in that collection is 'rational', which contains polynomials of degree up to 5 for both the numerator and denominator. If that's not sufficient, you can also create your own custom model.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Get Started with Curve Fitting Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!