Demo entry 6352847

matlab

   

Submitted by anonymous on Mar 27, 2017 at 07:37
Language: Matlab. Code size: 504 Bytes.

testnum = randn(1,64);
testnum64=fft(testnum,64);

for n=1:1:8
    for k = 1:1:8
        test64_1n((n-1)*8+k) = testnum((k-1)*8+n);
    end 
    test64_1((n-1)*8+1:n*8) = fft(test64_1n((n-1)*8+1:n*8),8);
end 
for n=1:1:8
    for k = 1:1:8
     test64_2n((n-1)*8+k)=test64_1((k-1)*8+n)*exp(-j*2*pi*(n-1)*(k-1)/64);
    end 
    test64_2((n-1)*8+1:n*8) = fft(test64_2n((n-1)*8+1:n*8),8);
end 

for n= 1:1:8
    for k=1:1:8
        test64_3((n-1)*8+k) =test64_2((k-1)*8+n);
    end 
end 

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).