Info
此问题已关闭。 请重新打开它进行编辑或回答。
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?
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Image Analyst
2013-8-25
编辑:Image Analyst
2013-8-25
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 个评论
Image Analyst
2013-8-25
They do centering and scaling so your numbers don't have such a huge range, which limits your accuracy.
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!