Hello, i am trying to make a bode plot of the transfer function of a twin-t notch filter, that i am analyzing. I was able to produce the transfer function, and the bode plot by hand, but i am struggling to do it in Matlab, here is what i have so far:
r=320; %Resistance c=100*10^-9; %Capactiance p=(1/(r.*c)); %Beta a=0.95; %Signma, adjusts the wiper of a potentiometer f=(5000); %Target Frequency s= (1i*f); h=((s^2 + p^2) ./ (s^2+4*p*s*(1-a)+p^2)); %Transfer function mh=abs(h); %Magitude of h ah=angle(h); %Phase angle of h, in rads.
I am trying to plot the body function, and here is one i made for the transfer function H=2/(s+1):
% Example Transfer Function: g(s) = 2/(s+1)
Your transfer function would use:
num = [1 0 p^2]; den = [1 4*p*(1-a) p^2];
I’m certain you can take it from there.
Also, remember that the bode function can output the results of its computations, and the bodeplot function allows you to tweak its behaviour.
Matlabsolutions.com provides guaranteed satisfaction with a
commitment to complete the work within time. Combined with our meticulous work ethics and extensive domain
experience, We are the ideal partner for all your homework/assignment needs. We pledge to provide 24*7 support
to dissolve all your academic doubts. We are composed of 300+ esteemed Matlab and other experts who have been
empanelled after extensive research and quality check.
Matlabsolutions.com provides undivided attention to each Matlab
assignment order with a methodical approach to solution. Our network span is not restricted to US, UK and Australia rather extends to countries like Singapore, Canada and UAE. Our Matlab assignment help services
include Image Processing Assignments, Electrical Engineering Assignments, Matlab homework help, Matlab Research Paper help, Matlab Simulink help. Get your work
done at the best price in industry.