How to calculate FWHM on the graph
古いコメントを表示
Dear All,
I have graph attached.
Anyone can help me to calculate the FWHM based on my graph attached?
採用された回答
その他の回答 (1 件)
The findpeaks function in Signal Processing Toolbox can be used to determine the width (full width) of the detected peaks. By default, the peak widths (output w in the example below) are calculated at half prominence. You can also specify the reference height for peak width measurements, WidthReference name-value pair, as "halfprom" or "halfheight".
x = linspace(-5, 5, 101);
y = exp(-x.^2);
[pks,locs,w,p] = findpeaks(y,x)
カテゴリ
ヘルプ センター および File Exchange で Discrete Data Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

