Azzera filtri
Azzera filtri

Band pass filter design

1 visualizzazione (ultimi 30 giorni)
öncü uzun
öncü uzun il 1 Mar 2019
Commentato: öncü uzun il 1 Mar 2019
Hi lads ,
I want to ask how can ı apply band bass signal an audio file which is 'wav'.
  1 Commento
öncü uzun
öncü uzun il 1 Mar 2019
Thank you sir bu ı dont understand last part little fs should Fs is it because our sampling frequency is defined in the audio wav file

Accedi per commentare.

Risposte (1)

KALYAN ACHARJYA
KALYAN ACHARJYA il 1 Mar 2019
Modificato: KALYAN ACHARJYA il 1 Mar 2019
[y,Fs]=audioread('audio.wav');
% define cutoff frequencies
fc1=?
fc2=?
bandpass(y,[fc1 fc2],fs);
Similar answer is avaliable here, please check, detail documentation
  1 Commento
öncü uzun
öncü uzun il 1 Mar 2019
a=('audio_signal.wav');
[y,fs]=audioread(a);
sound(y,fs);
figure(1);
plot(y);
spec=abs(fftshift(fft(y)));
Nfft=numel(y);
c=linspace(-fs/2,fs/2,Nfft);
plot(c,spec);
q=bandpass(spec,[2500 5000],fs);
figure(2);
plot(q)
what is wrong in this coding?

Accedi per commentare.

Categorie

Scopri di più su Signal Processing Toolbox in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by