OpenCores
URL https://opencores.org/ocsvn/fft2_size/fft2_size/trunk

Subversion Repositories fft2_size

[/] [fft2_size/] [fft_int/] [W.m] - Blame information for rev 9

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 9 Papayaved
function c = W(k, N)
2
%     if mod(k, N) == 0 return 1;
3
    arg = -2 * pi * k / N;
4
    Re = cos(arg);
5
    Im = sin(arg);
6
    c = complex(Re, Im);
7
end
8
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.