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 vues (au cours des 30 derniers jours)
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 commentaire
dpb
dpb le 26 Fév 2017
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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Interpolation dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by