Re: new to matlab
That question is bad!
There is no "n" variable.
a = 0.88 * exp( j*2*pi/5 ); % This is a Complex number
nn = 0:40; % This is an array [1,2,3...39,40]
xn = a.^nn; % "xn" is a Complx # raised to a power "nn"
for n = 128. % this looks like it wants to be a loop w/128 iterations
% but nothing is done. Or a statement and "n" should be "nn", but "nn" MAX = 40!
Type plot(nn,xn) or plot(xn), and see if this helps you understand your original
question.