The first signal exists for n=0 to n=20 after which it is zero and the second signal exists for n=0 to n=39. The following are the MATLAB codes and the corresponding plots.
Part a.
===================================================================
n=0:1:20;
x=n.*(0.9).^(n);
w=-pi:.01:pi;
for i=1:length(w)
X(i)=sum(x.*exp(-1i*w(i)*n));
end
subplot(1,2,1);plot(w,abs(X));title('Magnitude
plot');xlabel('\omega');ylabel('Magnitude');
subplot(1,2,2);plot(w,angle(X));title('Phase
plot');xlabel('\omega');ylabel('Phase (radians)');
Part b.
=====================================================================================
n=0:1:39;
x=cos((n*pi)/10-pi/4);
w=-pi:.01:pi;
for i=1:length(w)
X(i)=sum(x.*exp(-1i*w(i)*n));
end
subplot(1,2,1);plot(w,abs(X));title('Magnitude
plot');xlabel('\omega');ylabel('Magnitude');
subplot(1,2,2);plot(w,angle(X));title('Phase
plot');xlabel('\omega');ylabel('Phase (radians)');
Using the course Matlab dtft function compute the magnitude, and phase for the following discrete-time signal...
Problem 4.1 Using the course Matlab dtft function compute the magnitude, and phase for the following discrete-time signal: a) x(n)=n(0.9)" [u(n)-u(n–21)] b) x(n) = cosTo» - 4 ][(n) – u (n – 40)]
п For the discrete time signal [4-3], determine the magnitude of the DTFT at rads/sample.
ML 25 points) DTFT of a Signal Compute the discrete-time Fourier transform (DTFT) of the signal x[n] = {x[0],x[1], x[2], x[3]} = {1,0,-1,0} [n] = DTFT"
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(п)...
Consider the discrete time signal x[n]: 13 -5 10 2.5 Compute the discrete time Fourier transform (DTFT) X (A). Find the period ofX(Q). Hint: First write the x[n] showed above as two pulse functions then take the DTFT using the equation given below Express discrete Fourier transform (DFT) of x[n] using DTFT X(Q). a. b.
Consider the discrete time signal x[n]: 13 -5 10 2.5 Compute the discrete time Fourier transform (DTFT) X (A). Find the period ofX(Q). Hint: First...
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(п)...
Lab #2 Discrete-time Fourier Transform (DTFT) OBJECTIVES: • Explore the DTFT, its meanings and concepts. • Get acquainted with Matlab/Octave 1) Start MATLAB and change the “Current Directory” in the top of the window (or type) >> cd '' (example: >> cd 'C:\NIU\lab2') Alternatively, if you don't want to use MATLAB, you can open a web-browser and go to “octave-online.net”. 2) Download and execute LAB2forStudent_A.M with >> lab2forStudent_A and observe that it produces a Discrete-Time (DT) signal xVec. 3) TO...
Determine the Discrete Time Fourier Transform (DTFT) of the following discrete-time signal. x[n]=n0.1" u(n) 1-0 1e112 0970.1e* 5) -0.12- e in 1-0.1e) C), ei (1+0.2e-in d) =-*+0.2e-10 e / +0.2012
(a) A discrete time signal is given as «[u]=%2+cos( ) u + 67 In + 2 cos N n+ pia + 4 cos 27 N n+ دام Determine the Fourier coefficient, ak , plot the magnitude, lakl and phase, Zak of the Fourier coefficient for the signal x[n]. (10 marks)
Question 4. (20 points) Compute the DTFT of the discrete-time signals, 1) x[n] = n(0.5)"u[n]. (opt) 2) x[n] = n(0.5)”cos(4n)u[n]. (opt) 3) x[n] = (0.5)" cos(4n)u[n]. (7pt)