フィルターのクリア

Sir, I have a resampled audio having sampling rate 2000hz in that i have to apply a antialiasing filter so how i will apply the antialiasing filter? The below code is i used for resampling the audio,

3 ビュー (過去 30 日間)
if true
% code
end
[x, fs1] = audioread('audio3.wav');
%sound(x,fs1);
ts1=1/fs1;
N1=length(x);
Tmax1=(N1-1)*ts1;
t1=(0:ts1:Tmax1);
figure;
plot(t1,x),xlabel('Time'),title('audio1');
fs2 = (20/441)*fs1;
y=resample(x,2000,44100);
%sound(y,fs2);
ts2=1/fs1;
N2=length(y);
Tmax2=(N2-1)*ts2;
t2=(0:ts2:Tmax2);
figure;
plot(t2,y),xlabel('Time'),title('resampled audio1');

採用された回答

Walter Roberson
Walter Roberson 2018 年 11 月 10 日
編集済み: Walter Roberson 2018 年 11 月 10 日
  2 件のコメント
Suchithra K S
Suchithra K S 2018 年 11 月 10 日
sir, i have no idea have to code that antialising filter in matlb. so can you please explain the code for me.
Walter Roberson
Walter Roberson 2018 年 11 月 10 日
https://www.mathworks.com/help/signal/ug/downsampling-aliasing.html

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultirate Signal Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by