フィルターのクリア

find local maxima of a signal

8 ビュー (過去 30 日間)
Jade Henrichon
Jade Henrichon 2021 年 3 月 31 日
回答済み: Star Strider 2021 年 3 月 31 日
Hi!
I need to find all maximas of a signal and their position. I did this code, but it only give me the absolute maxima of all the signal. How can I have all the maximas?

回答 (1 件)

Star Strider
Star Strider 2021 年 3 月 31 日
Use the Signal Processing Toolbox findpeaks function (introduced in R2007b) or the MATLAB islocalmax function (introduced in R2017b).

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by