How to calculate FWHM from a curve
조회 수: 8 (최근 30일)
이전 댓글 표시
Hi,
I have a curve (ive attached my plot) and i would like to find the fwhm of the larger peak? How would I do this?
Thanks in advance
댓글 수: 1
dpb
2019년 8월 7일
Can't tell for sure -- is each peak a single slice in the Range dimension? So, iow, along that value the peak is actually just a vector.
답변 (1개)
Star Strider
2019년 8월 7일
One approach is first to isolate the appropriate ‘Range’ value for your peaks of interest (so you have a vector that spans all values of ‘Along track’ for that single ‘Range’ value) then use findpeaks with at least the first three outputs to find the FWHM of every peak it identifies in the ‘widths’ output. See the Peak Prominences section of the documentation for details. You can use the value of the ‘pks’ output to identify the largest peak for each value of ‘Range’ that you select, and go from there.
Calculating the area of the peak would be relatively straightforward once you identify where the peak begins and ends. Calculating the area of the FWHM of the peak would likely be something of a challenge, depending on how you define that area.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!