How can I find the centroid of a curve for peak detection?

13 visualizaciones (últimos 30 días)
Sampita Rakshit
Sampita Rakshit el 19 de Sept. de 2020
Respondida: Abhisek Pradhan el 9 de Oct. de 2020
The equation that I am trying to fit for the centroid is
λ_B "=" (Σ_(i=1)^N λ_i A_i)/(Σ_(i=1)^N A_i )
I am trying to find an appropriate method to fit this equation in a plot.

Respuestas (1)

Abhisek Pradhan
Abhisek Pradhan el 9 de Oct. de 2020
Here is a link which has a detailed documentation and example on curve fitting.

Community Treasure Hunt

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

Start Hunting!

Translated by