I am using 'fit' command for curve fitting. But my model equation is defined only for some range of input (x>5) . For x<5, model equation is y =2 (Having no constants). So How should I deal this problem ? Thanks in Advance.
1 回表示 (過去 30 日間)
古いコメントを表示
I am using 'fit' command for curve fitting. But my model equation is defined only for some range of input (x>5) . For x<5, model equation is y =2 (Having no constants). So How should I deal this problem ? Thanks in Advance.
0 件のコメント
採用された回答
John D'Errico
2017 年 5 月 25 日
編集済み: John D'Errico
2017 年 5 月 25 日
You essentially have no model to fit, when x < 5. Even if you did, who cares? We already know what y is then! You know the model below that point. Any data that falls below x=5, just ignore it. It will not be needed for the fit, so there is no problem at all.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Interpolation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!