Clear Filters
Clear Filters

Curve start and end coordinates

3 views (last 30 days)
ekagra gupta
ekagra gupta on 29 Aug 2022
Edited: Image Analyst on 30 Aug 2022
I have a curve
I want to find the starting and end coordinates of these gaussian curves.
It would be great if you guys could help!
The required data is attached in this question itself ("req_data.mat").
Thank you!

Answers (1)

Matt J
Matt J on 29 Aug 2022
Edited: Matt J on 29 Aug 2022
Gaussian curves are infinite in length., so it isn't clear what your criterion would be for where they start/stop. However, a good place to start would probably be to use the Curve Fitting Toolbox to fit a three-term Gaussian model ( 'gauss3' ).
ekagra gupta
ekagra gupta on 30 Aug 2022
Thank you for clarifying!
Is it possible to calculate area of the 3 curves individually? (note: I still do not know the bounds for integral)
Image Analyst
Image Analyst on 30 Aug 2022
Edited: Image Analyst on 30 Aug 2022
The area in the tails is probably insignificant, therefore simply use the formula for the area of a Gaussian:
The area under a Gaussian curve equals Amplitude * StdDev / 0.3989
From Matt's code you know the 3 amplitudes and 3 standard deviations. It should be accurate enough for your purposes.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!