摘要:
#include <stdio.h> #include <stdlib.h> #include<math.h> #define pi 3.1415926 #define N 16//16个点 typedef struct { double real,imag; } complex;//复数结构体 c 阅读全文
posted @ 2021-01-13 21:58
Connor_Jiao
阅读(106)
评论(0)
推荐(0)
摘要:
function [ Xk ] = DFT( xn,N ) %定于DFT算法 xxn=zeros(1,N);%构造1*N的零矩阵 xxn(1:length(xn))=xn; %将形参赋值进来 Xk=ones(1,N);%构造1*N的全1矩阵 Wn=exp(-1i*2*pi/N);% wn=ones( 阅读全文
posted @ 2021-01-13 20:39
Connor_Jiao
阅读(111)
评论(0)
推荐(0)

浙公网安备 33010602011771号