Finding duration of peaks??

4 ビュー (過去 30 日間)
Sunil
Sunil 2014 年 10 月 7 日
回答済み: Image Analyst 2014 年 10 月 7 日
I have attached a figure in which i have peaks at certain locations each of certain length. I need the duration of each peak in the figure. For example, there are 8 peaks in this figure, but i only need the ones that are of specified length (should neglect the peaks less than specified length). Can someone help me??

採用された回答

Image Analyst
Image Analyst 2014 年 10 月 7 日
Do you have the Image Processing Toolbox? If so, it's two lines of code
measurements = regionprops(logical(yourSignal), 'Area');
allLengths = [measurements.Area]; % Durations (x-widths) of all the peaks.

その他の回答 (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