Partial data fitting with optimization
古いコメントを表示
Hello, I need to fit the central part of this curve (-100,100) with a linear function, so that the difference between the curve and the fit is minimal. T1 - T7 are measured veocity values for different temperatures. I need to find the parameter, for which the curves in the central part are most straight. I do not need to fit the blue curve. Thank you.

回答 (1 件)
Alberto Mora
2018 年 3 月 21 日
0 投票
polyfit(X,Y,1)
カテゴリ
ヘルプ センター および File Exchange で Get Started with Curve Fitting Toolbox についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!