Bonjour
Je travaille sur un signal sonore,
Je veux déterminer les peaks d'un son , mais lorsque j'utilise cette instruction :
matlab affiche une erreur comme suit :Code:[pk1,lc1] = findpeaks(audioIn,'SortStr','descend','NPeaks',3);
merci de m'aider a déterminer les peaks (pics) d'un son en matlabCode:
1
2
3
4
5
6
7
8
9
10
11 Error using findpeaks Expected Y to be a vector. Error in findpeaks>parse_inputs (line 199) validateattributes(Yin,{'double','single'},{'nonempty','real','vector'},... Error in findpeaks (line 136) = parse_inputs(isInMATLAB,Yin,varargin{:}); Error in test2 (line 13) [pk1,lc1] = findpeaks(audioIn,'SortStr','descend','NPeaks',3);