DFT的matlab源代码meow_fft
我的轻松烦恼Wonderfull
FFT
理查德·麦克斯韦(Richard
Maxwell)
一个简单的,仅C99,仅标头,0条款BSD许可的快速傅立叶变换(FFT)。
例子
#
define
MEOW_FFT_IMPLEMENTATION
#
include
<
meow_fft.h
>
#
include
<
malloc.h
>
void
main
(
char
**
argv,
int
argv)
{
(
void
)
argv;
(
void
)
argc;
unsigned
N
=
1024
;
float
*
in
=
malloc
(
sizeof
(
float
)
*
N);
Meow_FFT_Complex*
out
=
malloc
(
sizeof
(Meow_FFT_Complex)
*
N);
Meow_FFT_Complex*
temp
=
malloc
(
sizeof
(Meow_FFT_Complex)
*
N);
//
prepare
data
for
"in"
array.
//
...
size_t
2021-11-21 20:47:02
15KB
系统开源
1