Curve fitting with no input give
古いコメントを表示
Hi:
If no input is given how can curve fitting be done?
Urmila
採用された回答
その他の回答 (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.
カテゴリ
ヘルプ センター および 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!