Data fitting and slop

2 visualizzazioni (ultimi 30 giorni)
amberly hadden
amberly hadden il 12 Giu 2014
Modificato: Image Analyst il 13 Giu 2014
Hi Im interested to plot XY which is a curve also Im interested to fit a best fit curve through data which should follow the data trend as is and then the point from where curve is changing or having maximum curvature, (X-value at that point) and a best fit line from the trend where values are straight to get intercept, After getting intercept I would like to use intercept and slop to draw another model on same graph. please see the attached figure for detailed idea.
Guide me please Thank you

Risposte (1)

Image Analyst
Image Analyst il 13 Giu 2014
Your picture is not attached. All I can guess at is that this might help: http://www.mathworks.com/matlabcentral/fileexchange/32696-2d-line-curvature-and-normals
  1 Commento
amberly hadden
amberly hadden il 13 Giu 2014
Modificato: Image Analyst il 13 Giu 2014
Hi its in the attachment and data set is also pasted here
Mag range Count per M range Cumulative Total Above Lower M in Range
2.10-2.199 2 43
2.2-2.299 10 41
2.3-2.399 2 31
2.4-2.499 16 29
2.5-2.599 4 13
2.6-2.699 6 9
2.7-2.799 1 3
2.8-2.899 1 2
2.9-2.999 1 1

Accedi per commentare.

Categorie

Scopri di più su Interpolation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by