필터 지우기
필터 지우기

Error in 'findpeaks' im not sure what the issue is

조회 수: 2 (최근 30일)
John Carroll
John Carroll 2021년 2월 14일
댓글: John Carroll 2021년 2월 14일
Code:
Y = readtable('lab1_section1_9hz000.xlsx','Range','E1:AJ180');
Y1 = table2array(Y);
Y2 = detrend(Y1);
for i=1:32
[pks,locs] = findpeaks(Y2(:,i));
meanWH(i) = mean(pks);
meanWL(i) = mean(diff(locs));
end
Error
>> Lab1_Wave_Sensor
'findpeaks' requires Signal Processing Toolbox.
Error in Lab1_Wave_Sensor (line 8)
[pks,locs] = findpeaks(Y2(:,i));

채택된 답변

Walter Roberson
Walter Roberson 2021년 2월 14일
it believes that Signal Processing Toolbox is either not installed or not licensed.
  댓글 수: 3
Walter Roberson
Walter Roberson 2021년 2월 14일
https://www.mathworks.com/matlabcentral/answers/101885-how-do-i-install-additional-toolboxes-into-an-existing-installation-of-matlab?s_tid=ta_ans_results
John Carroll
John Carroll 2021년 2월 14일
Thank You

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by