How to pass the signal x(t) in IIR band stop filter? Kindly develop the program for the following...... please.....

1 view (last 30 days)
fs=5200;
t=0:(1/fs):1;
x=2*sin(400*pi*t)+3*cos(900*pi*t)-0.5*sin(1400*pi*t)+sin(2400*pi*t);

Answers (1)

VBBV
VBBV on 2 Mar 2023
Edited: VBBV on 2 Mar 2023
fs=5200;
t=0:(1/fs):1;
x=2*sin(400*pi*t)+3*cos(900*pi*t)-0.5*sin(1400*pi*t)+sin(2400*pi*t);
figure % original signal
plot(t,x)
title('original signal')
% bandstop signal
bandstop(x,[100 200],fs)

Categories

Find more on Digital and Analog Filters in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!