How to Calculate The Full Wave Half Maximum.

1 view (last 30 days)
Hi Everyone, anyone know how to write command to calculate the Full Wave Half Maxiumum(FWHM) on my data. As shown in figure attached.

Accepted Answer

KSSV
KSSV on 23 Jun 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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!