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!