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

DTFT function provided below. function [X] = dtft(x,n,w) % Computes Discrete-tim

ID: 2268707 • Letter: D

Question

DTFT function provided below.

function [X] = dtft(x,n,w)

% Computes Discrete-time Fourier Transform

% [X] = dtft(x,n,w)

%

% X = DTFT values computed at w frequencies

% x = finite duration sequence over n (row vector)

% n = sample position row vector

% w = frequency row vector

X = x*exp(-j*n'*w);

6. Consider z(n)- sin(nT/3) plot x[n] for n [-5,5] and ne [-15,15] -Write Matlab coding obtain x(eju) for n E-5, 5] and n E-15, 15]. Plot X(eju ) - Using the DTFT function, plot X(ej") for nE (-5,5] and n e [-15,15) or n -5,

Explanation / Answer

Here i am giving you the matlab code for this program

Maltab code: