Code covered by the BSD License  

Highlights from
Ingle & Proakis Chapter 3 Solutions

image thumbnail

Ingle & Proakis Chapter 3 Solutions

by

 

13 Sep 2007 (Updated )

Answers to chapter 3 problems

dtft(x,nx,w)
function [X] = dtft(x,nx,w)
% Computes Discrete-time Fourier Transform 
% [X] = dtft(x,n,w)
%
% X = DTFT values are computed at w frequencies 
% x = finite duration sequence over n 
% n = sample position vector 
% w = frequency location vector
M = 250;
k = -M:M;                       % k = 501 points
X = x*(exp(-j*pi/M)).^(nx'*k);  % Computes DTFT

Contact us