fitting straight line to part of data and extrapolate to x-axis at y = zero
20 ビュー (過去 30 日間)
古いコメントを表示
please I want syntax to fit straight line on part of data points which lay on a straight in this graph (I point red circle on this data) , and then extraplotate to X-axis at y=zero in order to calculate X Value at Y=ZERO
0 件のコメント
採用された回答
Image Analyst
2021 年 7 月 18 日
If you don't know where the knee/kink/corner of your data is, then you can use a piecewise linear fit to fit the left and right portion to a line. The attached demo will figure out where that knee point is and give you the equation for each line.
11 件のコメント
参考
カテゴリ
Help Center および 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!