필터 지우기
필터 지우기

Band pass filter design

조회 수: 1 (최근 30일)
öncü uzun
öncü uzun 2019년 3월 1일
댓글: öncü uzun 2019년 3월 1일
Hi lads ,
I want to ask how can ı apply band bass signal an audio file which is 'wav'.
  댓글 수: 1
öncü uzun
öncü uzun 2019년 3월 1일
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

댓글을 달려면 로그인하십시오.

답변 (1개)

KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 3월 1일
편집: KALYAN ACHARJYA 2019년 3월 1일
[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
öncü uzun
öncü uzun 2019년 3월 1일
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?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Signal Processing Toolbox에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by