can anyone help me to get output of this for loop in matrix like if number of samples are 5 then filtered signal x should be first sample in first column,second sample in second and likewise. it is getting overwrite output for filtered signal x.
12 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
for k = 1:length(AudioFile)
filename = AudioFile(k).name;
[y,fs] = audioread(filename);
y = medfilt1(y(k,:),3); %spike removal of signal
[b,a] = butter(3,[25,900]/(fs/2), 'bandpass'); %bandpass filtering with order 6
x = filter(b,a,y);
0 commentaires
Réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!