#### scdoro

##### Member level 5

Below section of code asks to plot the magnitude and the phase response graph of the signal xn.

a = 0.88 * exp( j*2*pi/5 );

nn = 0:40;

xn = a.^nn;

for n = 128.

Qn1) when i typed in this section of code and try to run it using Matlab, it just keeps looping and there is no output. How can i make use of the above information to obtain the magnitude and phase response of the signal?

The full question is provided in the attachment

Thanks

P.S: i am new to matlab so i hope someone could helped me with this

regards

scdoro