Consider a periodic signal
x[n] = sin(0.1πn) + 13sin(0.3πn) + 15sin(0.5πn).
For each of the following systems, determine if the system imparts
(i) no distortion, (ii) magnitude distortion, and/or (iii) phase
(or delay) distortion. In each case, graph the input and the steady
state response for 0 ≤ n ≤ 60.
(a) H(z) = 1/9(1 + 2z^(−1) + 3z^(−2) + 2z^(−3) + z^(−4)).
(b) h[n] = {1(n=0),−1.1756,1}
(c) H(z) = {1+1.778z^(−2)+3.1605z^(−4) }/{1+0.5625z^(−2)+0.3164z^(−4)}
in each case the syste, imparts both magnitude distorion and phase distorion. MATLAB code is given below.
clc;
close all;
clear all;
% define n
n = 0:60;
% define x
x = sin(0.1*pi*n) + 13*sin(0.3*pi*n) +
15*sin(0.5*pi*n);
% filter coefficiets
Ha = 1/9*[1 2 3 2 1] ;
Hb = [1 -1.1756 1] ;
Hc_num = [1 0 1.778 0 3.1605];
Hc_den = [1 0 0.5625 0 0.3164];
figure;
freqz(Ha);
title('frequency response of system a')
figure;
freqz(Hb);
title('frequency response of system b')
figure;
freqz(Hc_num,Hc_den);
title('frequency response of system c')
% now filter the signal
ya = filter(Ha,1,x); % filter the signal x with system 1
yb = filter(Hb,1,x); % filter the signal x with system 2
yc = filter(Hc_num,Hc_den,x); % filter the signal x with system
3
% plot the input and outputs
figure;
subplot(211);
plot(n,x);grid on;xlabel('n');ylabel('Stem Height');
title('input');
subplot(212);
plot(n,ya);grid on;xlabel('n');ylabel('Stem Height');
title('respone of system in problem a to input x');
figure;
subplot(211);
plot(n,x);grid on;xlabel('n');ylabel('Stem Height');
title('input');
subplot(212);
plot(n,yb);grid on;xlabel('n');ylabel('Stem Height');
title('respone of system in problem b to input x');
figure;
subplot(211);
plot(n,x);grid on;xlabel('n');ylabel('Stem Height');
title('input');
subplot(212);
plot(n,yc);grid on;xlabel('n');ylabel('Stem Height');
title('respone of system in problem c to input x');
Consider a periodic signal x[n] = sin(0.1πn) + 13sin(0.3πn) + 15sin(0.5πn). For each of the following...
(5) For the system described by the following difference equation y(n)= 0.9051y(n 1) 0.598y(n 2) -0.29y(n 3) 0.1958y(n - 4) +0.207r(n)0.413r(n 2)+0.207a(n - 4) (a) Plot the magnitude and phase responses of the above system. What is the type of this filter? (b) (b) Find and plot the response of the system to the input signal given by /6)sin(w2n +T /4) u(n), where w 0.25m and ws 0.45m a(n) 4cos(win -T = (c) Determine the steady-state output and hence find...
Consider the following DT periodic signal: in X(t) = sin 2πη) 10 + cos 30) a) What is the fundamental period? b) What are the exponential Fourier series coefficients? c) Sketch magnitude and phase spectral plots.
(50 pts) Determine whether each of the following signal is periodic. If the signal is periodic, find its fundamental period. (a) x(t) = 4, a constant signal. (b) x(t) = 28ej (400#t) (c) x[n] = 28ej(1007n) (d) x(t) = 10 sin(5t) - 4 cos(7t) (e) x[n] = 10 sin(5n) - 4 cos(7n) (f) r(t) = cos(Ft) sin(ft) (g) x(t) = teit (h) x[n] = e(m/v2) (1) x[n] = cos(km2) (Pay attention to the square) (j) x[n] = {X- 8[n -...
Objective Conduct DTFT, DTFS on a periodic discrete signal. Task: Consider the system with impulse response Tth sin 8 h(n) S(n) Tn (1) Find the Fourier-series representation for the output y(n) when the input x(n) is the periodic extension of the sequence 3/2, -1,0, -3/2, 1,0 Plot the x(n), h(n), y(n) and Fourier coefficient bk using Matlab or handwriting (Example 7.2.6 irse material) in cour (2) Find the output y(n) of the system with the input 1 Tn Tn x(п)...
Realize signal processing systems described by the difference equation: y1(n)=1/2 [x(n)+x(n-1)] and y2(n)=1/2 [x(n)-x(n-1)] using Matlab. Assuming same input signal x(n)=sin(ωn) for various values of ω ={0,/6, ,3/2, 1.9/2} applied to both systems find the following: Obtain stem plots of y1(n) and y2(n) in each case. (15 Marks) Critically analyze y1(n) and y2(n) in terms of type of filter, maximum gain and cut off frequency. (Hint : The system can be tested by computing frequency response of the system).
response system 7. Consider the following signal: *(n) = sin(n + 3). (a) Is this signal periodic? If so what is its period? (b) Find its DTFS. If its DTFS is periodic, what is the period? Plot the spectrum. (C) Find its DTFT. If its DTFT is periodic, what is the period? Plot the spectrum. d) Comment on the spectrums of (b) and (c).
Problem .3 Find the Fourier transform of the following periodic signal. Sketch the magnitude and phase spectra x(t) -4? -2? 2? 2 The exponential Fourier series of r(t) is n=0 -98 sin n- Odd 2 0, n- Even
5 pts D Question 1 A system has the following impulse response: .2 Sample number, n From the choices below, select the frequency response of this system. H (eju)-e(1.5 ) (2 sin( 1.5ώ) + 4 sin(0.δώ)) H (ee) = e-j(1.5e-5) (cos( 1.5 ) +2 cos(0.54)) @ H (ee)-e-n1.si) (sin( 1.54) t. 2 sin(0.δώ)) (sin(l.50) +4sin(0.0) H (ee)-e-j(1.5i) (2 cos( 1.5ώ) + 4 cos(0.5a)) H (efo)-e-n1.5u) (cos( 1.50) + 2 cos(0.50)) https://rmitinstructure.comcoursesy 5 pts DQuestion 2 A system has the following...
If the input to the system described by the difference equation y(n+1) (1/2)x(n+) -x(n) is a) Does it matter what are the initial conditions for nc0 in order to find y(n) for n20? Explain your b) x(n) -u(n) answer. (3 points). Determine the transfer function H(z) and the Frequency Response (H(est) (10 points). Find the amplitude lH(epT)I and the phase He*') as a function of co. Evaluate both for normalized frequency ω T=z/4. ( 10 points) c) Find the steady...
Objective Conduct DTFT, DTFS on a periodic discrete signal. Task: Consider the system with impulse response Tth sin 8 h(n) S(n) Tn (1) Find the Fourier-series representation for the output y(n) when the input x(n) is the periodic extension of the sequence 3/2, -1,0, -3/2, 1,0 Plot the x(n), h(n), y(n) and Fourier coefficient bk using Matlab or handwriting (Example 7.2.6 irse material) in cour (2) Find the output y(n) of the system with the input 1 Tn Tn x(п)...