Data fitting and slop

3 次查看(过去 30 天)
amberly hadden
amberly hadden 2014-6-12
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

回答(1 个)

Image Analyst
Image Analyst 2014-6-13
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 个评论
amberly hadden
amberly hadden 2014-6-13
编辑:Image Analyst 2014-6-13
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Get Started with Curve Fitting Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by