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.

10 visualizaciones (últimos 30 días)
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);

Respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by