"Findpeaks" function doesn't work

조회 수: 8 (최근 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 CenterFile Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by