**4.2.2 fft**

```
F = exp(2*pi*sqrt(-1)/N .* meshgrid([0:N-l],[0:N-1]) ... 
. * repmat([0:N-1]',[1,N])); 
for( i = 1 : length(SNR_ V)) 
SNR = SNR_ V(i) 
if (SNR>=0 && SNR<=2) 
M=2; 
elseif (SNR>2 && SNR<=4) 
M=4; 
elseif (SNR>4 && SNR<=8) 
M=8; 
elseif (SNR>8 && SNR<=l4) 
M=16;
```
elseif (SNR>14 && SNR<=20) M=32; elseif (SNR>20 && SNR<=27) M=64; elseif (SNR>27 && SNR<=34) M=128; end for(k = 1 : nlteration) h(l:L,l) = random(' Normal' ,0,l,L,l) + ... j \* random( 'Normal' ,0,1,L,1); h = h./sum(abs(h));
