How to find the value of "Border" in findpeaks built-in function?

11 ビュー (過去 30 日間)
Matlaber
Matlaber 2019 年 2 月 9 日
コメント済み: Matlaber 2019 年 2 月 9 日
Example using this link
x = linspace(0,1,1000);
Pos = [1 2 3 5 7 8]/10;
Hgt = [4 4 2 2 2 3];
Wdt = [3 8 4 3 4 6]/100;
for n = 1:length(Pos)
Gauss(n,:) = Hgt(n)*exp(-((x - Pos(n))/Wdt(n)).^2);
end
PeakSig = sum(Gauss);
% Plot the graph
plot(x,Gauss,'--',x,PeakSig)
grid
1.png
findpeaks(PeakSig,x,'Annotate','extents','WidthReference','halfheight')
title('Signal Peak Widths')
2.png
How can we find the X and Y value of the border?
2.PNG
Border is built in function in "findpeaks"
  2 件のコメント
Star Strider
Star Strider 2019 年 2 月 9 日
See this Comment.
Matlaber
Matlaber 2019 年 2 月 9 日
Thanks!

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by