Is there any Matlab function to find peak width?

2 visualizzazioni (ultimi 30 giorni)
Dong-Gyu Jang
Dong-Gyu Jang il 26 Dic 2014
Risposto: Image Analyst il 28 Dic 2014
Hello.
For phase shift analysis in interferometry and spectral analysis, sometimes automatic finding of peak width of the data is required.
For my case, peak location is simply obtained by using max function but don't know which function I can use to detect peak width.
Could you suggest relevant function for me?
  1 Commento
Shoaibur Rahman
Shoaibur Rahman il 26 Dic 2014
Modificato: Shoaibur Rahman il 28 Dic 2014
What do you mean by peak width? A bit more explanation would be easier to understand your requirement, and hence, answer your question. Thanks.
You can also see the link below if this may be helpful to you: http://stackoverflow.com/questions/17424147/define-the-width-of-peak-in-matlab

Accedi per commentare.

Risposte (1)

Image Analyst
Image Analyst il 28 Dic 2014
You can start at the top of the peak and "fall down" either side until you get to either (A) half way down the peak to get a common full width half max (FWHM), or (B) until the signal starts increasing again. You can use a for loop to do either of those methods.

Community Treasure Hunt

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

Start Hunting!

Translated by