How to Calculate The Full Wave Half Maximum.

3 visualizzazioni (ultimi 30 giorni)
Hi Everyone, anyone know how to write command to calculate the Full Wave Half Maxiumum(FWHM) on my data. As shown in figure attached.

Risposta accettata

KSSV
KSSV il 23 Giu 2021
Let (n.counts) be your data.
[max_counts,idx] = max(counts) ;
half_max_counts = max_counts/2 ;
idx = knnsearch(counts,half_max_counts) ;
FWHM = abs(diff(n(idx)))
You can inerpolate the data for better accuracy.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by