Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
John Carroll
John Carroll le 14 Fév 2021
Commenté : John Carroll le 14 Fév 2021
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));

Réponse acceptée

Walter Roberson
Walter Roberson le 14 Fév 2021
it believes that Signal Processing Toolbox is either not installed or not licensed.
  3 commentaires
Walter Roberson
Walter Roberson le 14 Fév 2021
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 le 14 Fév 2021
Thank You

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by