
Evaluate e^jw/(e^jw-0.5) at 501 equispaced points between [0,pi] and
plot its magnitude, angle, real, and imaginary parts.
%%%%%%%%%%% START %%%%%%%%%%%%%%%clc; w = [0:1:500]*pi/500; X = exp(j*w) ./ (exp(j*w) - 0.5*ones(1,501)); magX = abs(X); angX...