📄 dtftr_c.mht
字号:
From: <由 Microsoft Internet Explorer 5 保存>
Subject:
Date: Wed, 27 Sep 2006 22:46:43 +0800
MIME-Version: 1.0
Content-Type: text/html;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.oxbad.com/DSP/maindoc/arithmetic_source/c/DTFTR.C
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312">
<META content=3D"MSHTML 6.00.2900.2963" name=3DGENERATOR></HEAD>
<BODY><PRE>/* dtftr.c - N DTFT values over frequency range [wa, wb) */
#include <cmplx.h> /* complex =
arithmetic */
complex dtft(); /* DTFT at one =
frequency */
void dtftr(L, x, N, X, wa, wb) /* usage: dtftr(L, x, =
N, X, wa, wb); */
double *x, wa, wb; /* \(x\) is =
\(L\)-dimensional real */
complex *X; /* \(X\) is =
\(N\)-dimensional complex */
int L, N;
{
int k;
double dw =3D (wb-wa)/N; /* frequency bin =
width */
for (k=3D0; k<N; k++)
X[k] =3D dtft(L, x, wa + k*dw); /* \(k\)th DTFT =
value \(X(\om\sb{k})\) */
}
</PRE></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -