function [sev,M] = prob_10_3(n) % PROB_10_3 - % % I think the eigenvalues will be E^( i*(2*pi/n)*k ) % for k = 0, 1, 2, ... n-1. % % Wrong. They are sqrt(n) * [ +\- 1 and +\- i ] % % Written by: % -- % John L. Weatherwax 2005-08-28 % % email: wax@alum.mit.edu % % Please send comments and especially bug reports to the % above email address. % %----- M = fft(eye(n)); sev = eig(M)/sqrt(n);