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 visualizaciones (últimos 30 días)
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 comentario
dpb
dpb el 26 de Feb. de 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

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by