Curve fitting with no input give
7 次查看(过去 30 天)
显示 更早的评论
Hi:
If no input is given how can curve fitting be done?
Urmila
0 个评论
采纳的回答
Matt Tearle
2011-3-18
Do you mean that you have data but no idea about the curve to fit? If so, there are nonparametric methods available, such as LOESS. This free webinar might be of interest.
0 个评论
更多回答(1 个)
Matt Fig
2011-3-18
Do you mean you want to fit a curve to no data? That sounds easy, for I would think that just any curve can fit no data with equal accuracy. Let's try to fit a line to no data and see what happens:
P = polyfit([],[],1)
P =
0 0
So, the curve of best fit is
y(x) = 0x + 0
which sounds as reasonable to me as any other fit I can imagine.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!