Matlab 2018a fit function wrong coefficients
Afficher commentaires plus anciens
Hi,
I tried to use the fit function for a rational fitting (rat24) and I got very strange results although the fitted curve was similar to my function.
So I tried to use it with a known function: y=2t and did the fitting and the output again was wrong.
So in the following example I expected p1=0 and p2=2 and I get different results.
What am I doing wrong?
Thanks,
Avihai

1 commentaire
James Tursa
le 8 Fév 2021
Please post code as normal text highlighted by the CODE button. We can't copy & run images.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Fit Postprocessing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


