How can i get a linear fit line for a particular number of data points for the plot containing more data point ? for example if i want young's modulus of any material i will take into account only linear region but plot upto ultimate tensile strength
2 ビュー (過去 30 日間)
古いコメントを表示
For example, if I want young's modulus of any material i will take into account only linear region but will plot up to fracture point
1 件のコメント
dpb
2017 年 2 月 26 日
First you'll have to have a way to select the linear portion; then just use a subset of the full data for the numeric fitting. You will need two lines at minimum in the plot if you want to show the fit portion in a separate linestyle from the rest of the data as each line is a single object and therefore has only a single style.
But, the additional stuff is really pretty straightforward to accomplish, there are lots of examples in the doc on adding information or additional plots on an existing; the key "magic" is
hold all % after the first line on a plot to subsequently add more
回答 (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!