Findpeaks from signal processing toolbox does not work.

1 回表示 (過去 30 日間)
DuckDuck
DuckDuck 2014 年 11 月 24 日
編集済み: DuckDuck 2014 年 11 月 24 日
I'm stuck into this problem. I need to use the findpeaks from Signal Processing Toolbox(SPT) as stated here. but when i use it i get an error, _'MinPeakWidth' is not a recognized parameter. For a list of valid name-value pair arguments, see the documentation for this function.
Matlab is using the default findpeaks function. Any idea how to use the SPT one? I'm using Matlab 2014a.

採用された回答

Adam
Adam 2014 年 11 月 24 日
There isn't a default findpeaks function in Matlab. Do you have your own function of that name defined and above the toolbox paths in your path?
  3 件のコメント
Image Analyst
Image Analyst 2014 年 11 月 24 日
Like Adam said, there is no default one and you're using either the SPT one or one that you (or someone) wrote and is on your search path. What does this say:
which -all findpeaks
But you accepted the answer so I assume that you discovered that you have your own m-file with the name findpeaks.m and you changed that, and that fixed it, and so you accepted the answer. However your response is not clear. So are you up and running now, or not?
DuckDuck
DuckDuck 2014 年 11 月 24 日
編集済み: DuckDuck 2014 年 11 月 24 日
no i found out smth else, that findpeaks on matlab 2014b has more functionality that previous version findpeaks!!! I'll have to use f indpeaks toolbox from fileexchange .

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

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