the subject is in digital signal processing
Explanation:
MATLAB:
clc;clear all;close all;
figure(1)
w=-pi:pi/500:pi
%Transfer function of CT Integrator
H=1./(j*w)
subplot(321)
plot(w/pi,abs(H),'r')
xlabel('w/pi')
ylabel('|H(w)|')
title('CT integrator -Frequency response')
subplot(322)
plot(w/pi,angle(H),'g')
xlabel('X pi')
ylabel('<H(w)>')
title('Phase response')
%Transfer fucntion on DT Integrator
HH=(1+exp(-j*w))./(2*(1-(exp(-j*w))))
subplot(323)
plot(w/pi,abs(HH),'r')
xlabel('w/pi')
ylabel('|H(exp(jw)|')
title('DT integrator -Frequency response')
subplot(324)
plot(w/pi,angle(HH),'g')
xlabel('X pi')
ylabel('<H(exp(jw)>')
title('Phase response')
%Transfer fucntion on CT differentiator
G=(j*w)
subplot(325)
plot(w/pi,abs(G),'b')
xlabel('w/pi')
ylabel('|H(w)|')
title('CT Differentiator -Frequency response')
subplot(326)
plot(w/pi,angle(G),'g')
xlabel('X pi')
ylabel('<H(w)>')
title('Phase response')
figure(2)
%Inverse of CT differentiator
G=1./(j*w)
subplot(211)
plot(w/pi,abs(G),'b')
xlabel('w/pi')
ylabel('|H(w)|')
title('Inverse of CT Differentiator')
subplot(212)
plot(w/pi,angle(G),'g')
xlabel('X pi')
ylabel('<H(w)>')
title('Phase response')
clc;clear all;close all;
%Transfer fucntion of DT differentiator
fs=0.5
Ts=1/fs;
w=-pi:pi/1000:pi
z=exp(j*w/fs)
GG=(2/Ts)*(z-1)./(z+1)
subplot(321)
plot(w/pi,abs(GG),'r')
xlabel('w/pi')
ylabel('|H(exp(jw)|')
title('DT Differentiator -Frequency response')
subplot(322)
plot(w/pi,angle(GG),'g')
xlabel('X pi')
ylabel('<H(exp(jw)>')
title('Phase response')
fs=2
Ts=1/fs;
z=exp(j*w/fs)
GG=(2/Ts)*(z-1)./(z+1)
subplot(323)
plot(w/pi,abs(GG),'r')
xlabel('w/pi')
ylabel('|H(exp(jw)|')
title('DT Differentiator -Frequency response')
subplot(324)
plot(w/pi,angle(GG),'g')
xlabel('X pi')
ylabel('<H(exp(jw)>')
title('Phase response')
fs=1000
Ts=1/fs;
z=exp(j*w/fs)
GG=(2/Ts)*(z-1)./(z+1)
subplot(325)
plot(w/pi,abs(GG),'r')
xlabel('w/pi')
ylabel('|H(exp(jw)|')
title('DT Differentiator -Frequency response')
subplot(326)
plot(w/pi,angle(GG),'g')
xlabel('X pi')
ylabel('<H(exp(jw)>')
title('Phase response')
Observation:
CT integrator and integrators provide same frequency response.
The inverse of CT differentiator is same as CT integrator and it is true for all sampling frequencies.
But the DT differentiator and DT differentiator responses are not same except at high sampling frequencies.
5. Consider a CT system with transfer function This system is called an integrutor because t by h...
0.1311(22 2z1 5. The transfer function of a system is H(z) = z2-0.74780.2722 a) Find the frequency response function of the system b) Let xn] 1 cos(0.2nt)+cos(0.45n7). Find the steady-state response. Use Matlab c) Plot the magnitude and phase response using Matlab 0.1311(22 2z1 5. The transfer function of a system is H(z) = z2-0.74780.2722 a) Find the frequency response function of the system b) Let xn] 1 cos(0.2nt)+cos(0.45n7). Find the steady-state response. Use Matlab c) Plot the magnitude and...
A classic second order system has transfer function the undamped natural frequency to be 10 rad/s throughout this exercise. Note, for the following MATLAB simulations you need to use format long defined at the top of the program to get full precision. a) Use MATLAB to plot the step response for three damping factors of ζ =0.5,1 and 1.5 respectively. step(g,tfinal)_ where tfinal is the max time you need to make it 2 secs and g is the b) Takeζ...
4. (20 points) An ideal analog integrator is described by the system function: H(s) 1) Design a discrete-time "integrator" using the bilinear transformation with Ts 2 sec. t is the difference equation relating xin) to yin) thint: divide top and bottom of H(Z) by ) 3) Determine the unit sample (impulse) response of the digital fite. 4) Assuming a sampling frequency of 0.5 Hz, use the impulse invariance method to find an approximation for Hz). Hint: Inverse Laplace Transform of...
singal and system QUESTION 5 [20 marks] Given transfer function of a networks H(s) transfer function at w = 1000 rad/s. $10+ 52 +10005+7x106 - Evaluate the [10 marks) b) Simplify and obtain the frequency response (magnitude and phase plots) of the 100(5+10) following transfer function H(s) s+10000 [6 marks] Sketch the magnitude and phase plots from (b) using Bode Plot Technique. [4 marks]
BC:9.4 A LTI discrete time system has an impulse response h[n] = (−0.6)nu[n] + (0.95)nu[n − 1] Find the transfer function, Hˆ (e jωˆ ), in the normalized frequency domain. Use Matlab to plot the magnitude and phase (in degrees) of Hˆ (e jωˆ ) in the range of −π ≤ ωˆ ≤ π. Attach your Matlab source code with the plots. BC:9.4 A LTI discrete time system has an impulse response h[n] = (-0.6)"u[n] + (0.95)"u[n-1] Find the transfer...
Please show all the steps clearly. 5. The transfer function of a system is given by Z Н(2) (z2-0.8z+ 0.15) -0.4n for n2 0. Find the response of To such a system we apply an input of the type x [n] the system in n domain using MATLAB for obtaining the partial fraction expansion and then manually inverting the output using z-transform tables. 5. The transfer function of a system is given by Z Н(2) (z2-0.8z+ 0.15) -0.4n for n2...
3. Draw the Bode plot (magnitude and phase) for the transfer function H(s) of a CT LTI given by H(s) 4000 only the asymptotic plot of the terms that make up the transfer function but also show the composite plot that adds all the terms that make up the transfer function. S+2000s+10 where the ROC includes the ja axis. Show
(42)1+ (z-0.5)z-0.9)(z-0.8) 3. The transfer function of a system is H(z) = a) Compute an analytical expression for the response y[n] if x[n] = u[n]. . Use Matlab to calculate the coefficients b) Simulate the response using Matlab (stem plot). Generate 50 points. (enter transfer function into Matlab and apply step input) (42)1+ (z-0.5)z-0.9)(z-0.8) 3. The transfer function of a system is H(z) = a) Compute an analytical expression for the response y[n] if x[n] = u[n]. . Use Matlab...
Consider the following second-order ODE representing a spring-mass-damper system for zero initial conditions (forced response): where u is the Unit Step Function (of magnitude 1 a. Use MATLAB to obtain an analytical solution x() for the differential equation, using the Laplace Transforms approach (do not use DSOLVE). Obtain the analytical expression for ao. Also obtain a plot of x() (for a simulation of 14 seconds) b. Obtain the Transfer Function representation for the system. c. Use MATLAB to obtain the...
2. The transfer function of a CT LTI system is given by H(s) (s2 +6s +10) (s2 -4s +8) a) Draw the pole-zero plot of the transfer function. b) Show all possible ROC's associated with this transfer function. c) Obtain the impulse response h(t) associated with each ROC of the transfer function. d) Which one (if any) of the impulse responses of part c) is stable? 2. The transfer function of a CT LTI system is given by H(s) (s2...