Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Below is a piece of a matlab assignment that I have been stuck on. We\'re new to

ID: 1840235 • Letter: B

Question

Below is a piece of a matlab assignment that I have been stuck on. We're new to matlab, so I'm just kind of lost. Also note that the original signal with the noise is called X. R and C are constants. I don't need this to actually be done in matlab, just the code.

Create a first order transfer function that has a breakpoint frequency well below = 2*pi*60 so that the filter will pass the desired pacemaker signal and attenuate the deterministic noise

H(s) = 1/(1+sRC)

Use this to create an impulse response and use the convolution function to simulate processing the signal through the filter.

Thanks in advance.

Explanation / Answer

C=0.1*10^-6 ; %defince capacitance value
f=60; %define cut of frequency
R=1/(2*pi*f*C); %To find resitance value for giver cut off freq
s=tf('s');% defien transferfunction in s domain
H=1/(1+(s*R*C));%define Lowpass filter transfer function
bode(H);%To Draw the frequency response curve in DB
grid on

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote