trying to fit x1 and y1 and in result want fitted value but for that this error is coming ? How can I improve my result?
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
In polyfit at 76
Warning: Polynomial is badly conditioned. Add points with distinct X values, reduce
the degree of the polynomial, or try centering and scaling as described in HELP
POLYFIT.
Antworten (1)
Image Analyst
am 25 Aug. 2013
Bearbeitet: Image Analyst
am 25 Aug. 2013
0 Stimmen
When you get that error, you must use the S and mu arguments. See the help for polyfit, as the error message directed you to.
3 Kommentare
RS
am 25 Aug. 2013
Image Analyst
am 25 Aug. 2013
They do centering and scaling so your numbers don't have such a huge range, which limits your accuracy.
RS
am 27 Aug. 2013
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!