"Findpeaks" function doesn't work

7 ビュー (過去 30 日間)
Gil Gur Arie
Gil Gur Arie 2017 年 5 月 1 日
コメント済み: Gil Gur Arie 2017 年 5 月 1 日
when running the following code using Matlab on my PC: " x=[1,2,3,2,1]; [val,place]=findpeaks(x) " I get this error: Undefined function 'findpeaks' for input arguments of type 'double'.
however, when running the exact same code in my office (different license, different computer) it works just fine. I have had this problem in the past, and re-installing Matlab seemed to solve it. Now I have the same problem and I don't think re-installing it would be a proper solution. Any solution?
  1 件のコメント
KSSV
KSSV 2017 年 5 月 1 日
Whats the result on running
which findpeaks

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

採用された回答

Jan
Jan 2017 年 5 月 1 日
findpeaks belongs to the signal processing toolbox. If you do not have a license for this toolbox, you cannot run this command.
  1 件のコメント
Gil Gur Arie
Gil Gur Arie 2017 年 5 月 1 日
I have the license but for some reason the toolbox was uninstalled. Thank you.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultirate Signal Processing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by