亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? realdft2.c

?? dsp 6711上開發(fā)的fft算法程序
?? C
字號:
/**************************************************************************************
 FILE
 	realdft2.c - C source for an example inplementation of the DFT/IDFT
	of two N-point real sequences using one N-point complex DFT/IDFT.
 
 **************************************************************************************

 DESCRIPTION
 	This program is an example implementation of an efficent way of computing
	the DFT/IDFT of two real-valued sequences.

 	Assume we have two real-valued sequneces of length N - x1[n] abd x2[n].  The 
	DFT of x1[n] and x2[n] can be computed with one complex-valued DFT of length
	N, as shown above, by following this algorithm.

	1.  Form the complex-valued sequence x[n] from x1[n] and x2[n]
	      
		xr[n] = x1[n]  and   xi[n] = x2[n],   0,1, ..., N-1

	Note, if the sequences x1[n] and x2[n] are coming from another algorithm 
	or a data aquisition driver, this step may be eliminated if these put the
	data in the complex-valued format correctly. 

	2.  Compute X[k] = DFT{x[n]}

	This can be the direct form DFT algorithm, or an FFT algorithm.  If using an
	FFT lgorithm, make sure the output is in normal order - bitereversal is 
	performed.

	3.  Compute the following equations to get the DFTs of x1[n] and x2[n].

          	X1r[0] = Xr[0]
		X1i[0] = 0

		X2r[0] = Xi[0]
		X2i[0] = 0

		X1r[N/2] = Xr[N/2]
		X1i[N/2] = 0
		  
		X2r[N/2] = Xi[N/2]
		X2i[N/2] = 0
		  
		for k = 1,2,3, ...., N/2-1
		       	X1r[k] = (Xr[k] + Xr[N-k])/2        
		       	X1i[k] = (Xi[k] - Xi[N-k])/2
			X1r[N-k] = X1r[k]
			X1i[N-k] = X1i[k]

			X2r[k] = (Xi[k] + Xi[N-k])/2 
			X2i[k] = (Xr[N-k] - Xr[k])/2
			X2r[N-k] = X2r[k]
			X2i[N-k] = X2i[k]


	4. Form X[k] from X1[k] and X2[k]
	   
	   	for k = 0,1, ..., N-1		
			Xr[k] = X1r[k] - X2i[k]
			Xi[k] = X1i[k] + X2r[k]

	5.  Compute x[n] = IDFT{X[k]}

	This can be the direct form IDFT algorithm, or an IFFT algorithm.  If using 
	an IFFT	algorithm, make sure the output is in normal order - bitereversal is
	performed

	  	  	      
	
**************************************************************************************/	



#include <math.h>	/* include the C RTS math library		*/
#include "params2.h"	/* include file with parameters  		*/
#include "params.h"	/* include file with parameters  		*/


extern short x1[];
extern short x2[];

void dft(int, COMPLEX *);
extern void split2(int, COMPLEX *, COMPLEX *, COMPLEX *);


main()
{
	int	n, k;
	
	COMPLEX X1[NUMDATA];		/* array of real-valued DFT output sequence, X1(k) */	
	COMPLEX X2[NUMDATA];		/* array of real-valued DFT output sequence, X2(k) */
	COMPLEX x[NUMPOINTS+1];		/* array of complex DFT data, X(k)                 */
	
	

/* Forward DFT */

/* From the two N-point real sequnces, x1(n) and x2(n), form the N-point complex 
   sequence, x(n) = x1(n) + jx2(n) */

	for (n=0; n<NUMDATA; n++)
	{
		x[n].real = x1[n];
		x[n].imag = x2[n];
	}
	

/* Compute the DFT of x(n), X(k) = DFT{x(n)}.  Note, the DFT can be any
   DFT implementation such as FFTs. */

	dft(NUMPOINTS, x);

/* Because of the periodicitty property of the DFT, we know that X(N+k)=X(k). */

	x[NUMPOINTS].real = x[0].real;
 	x[NUMPOINTS].imag = x[0].imag;


/* The split function performs the additional computations required to get
   X1(k) and X2(k) from X(k). */

	split2(NUMPOINTS, x, X1, X2);


/* Inverse DFT - We now want to get back x1(n) and x2(n) from X1(k) and X2(k) using one
   complex DFT */


/* Recall that x(n) = x1(n) + jx2(n).  Since the DFT operator is linear,
   X(k) = X1(k) + jX2(k).  Thus we can express X(k) in terms of X1(k) and X2(k). */

	for (k=0; k<NUMPOINTS; k++)
	{
		x[k].real = X1[k].real - X2[k].imag;
		x[k].imag = X1[k].imag + X2[k].real;	
 	}

/* Take the inverse DFT of X(k) to get x(n).  Note the inverse DFT could be any
   IDFT implementation, such as an IFFT. */

/* The inverse DFT can be calculated by using the foward DFT algorithm directly
   by complex conjugation - x(n) = (1/N)(DFT{X*(k)})*, where * is the complex conjugate
   operator.  */

/* Compute the complex conjugate of X(k). */

	for (k=0; k<NUMPOINTS; k++)
	{
		x[k].imag = -x[k].imag;	
		
 	}

/* Compute the DFT of X*(k). */

	dft(NUMPOINTS, x);

/* Complex conjugate the output of the DFT and divide by N to get x(n). */

	for (n=0; n<NUMPOINTS; n++)
	{
		x[n].real = x[n].real/16;
		x[n].imag = (-x[n].imag)/16;	
	}

/* x1(n) is the real part of x(n), and x2(n) is the imaginary part of x(n). */

	for (n=0; n<NUMDATA; n++)
	{
		x1[n] = x[n].real;
		x2[n] = x[n].imag;
	}

	return(0);

 }










?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美男生操女生| 伊人婷婷欧美激情| 国产精品久久久久久久裸模 | 337p日本欧洲亚洲大胆色噜噜| 欧美极品美女视频| 免费成人在线网站| 欧美写真视频网站| 最新不卡av在线| 国产成人精品影视| 精品少妇一区二区三区日产乱码| 一区二区高清免费观看影视大全| 狠狠网亚洲精品| 911精品国产一区二区在线| 亚洲免费观看高清完整版在线观看 | 精品久久久久久久一区二区蜜臀| 亚洲一区免费视频| 91在线云播放| 亚洲国产成人午夜在线一区| 国产在线不卡一区| 日韩精品在线一区| 九九国产精品视频| 日韩免费观看2025年上映的电影| 亚洲国产日韩一级| 欧美自拍偷拍一区| 亚洲一区二区在线免费观看视频| 91麻豆自制传媒国产之光| 中文字幕精品一区二区精品绿巨人 | 国产一区二区三区免费看| 久久精品国产精品亚洲红杏 | 亚洲18影院在线观看| eeuss影院一区二区三区| 久久久噜噜噜久久人人看| 日本 国产 欧美色综合| 欧美人与禽zozo性伦| 亚洲chinese男男1069| 欧美性xxxxx极品少妇| 亚洲国产精品久久一线不卡| 在线影视一区二区三区| 亚洲综合色视频| 欧美亚洲一区二区三区四区| 亚洲电影一区二区| 欧美一卡在线观看| 国产资源在线一区| 欧美激情综合在线| 一本久久综合亚洲鲁鲁五月天 | 国产日韩欧美精品一区| 成人做爰69片免费看网站| 中文字幕一区二区三区视频| 91小视频在线免费看| 亚洲成人av中文| 精品日产卡一卡二卡麻豆| 国产成人综合自拍| 亚洲人亚洲人成电影网站色| 欧美日韩精品专区| 寂寞少妇一区二区三区| 欧美高清在线视频| 欧美三级在线看| 国产原创一区二区| 亚洲三级在线免费| 7777精品伊人久久久大香线蕉经典版下载 | 国产精品理论片在线观看| 99久久精品国产导航| 亚洲成人av一区二区| 久久久久国产精品厨房| 在线观看欧美黄色| 国产在线精品不卡| 一区二区三区毛片| 精品福利在线导航| 在线一区二区三区| 国产一区二区在线看| 亚洲美女屁股眼交3| 欧美xxxx老人做受| 91高清视频免费看| 国产999精品久久久久久| 亚洲成在人线免费| 久久久久九九视频| 在线综合亚洲欧美在线视频| 成人aa视频在线观看| 日韩—二三区免费观看av| 综合亚洲深深色噜噜狠狠网站| 欧美一区二区三区在线电影| 91在线你懂得| 国产一区二区三区av电影| 亚洲成人免费影院| 最新国产精品久久精品| 久久综合九色综合欧美98| 欧美日韩视频一区二区| 成人av电影在线| 国产精一区二区三区| 青娱乐精品在线视频| 亚洲色图制服丝袜| 欧美高清在线一区二区| 久久免费看少妇高潮| 4438x成人网最大色成网站| 91丨porny丨户外露出| 国产91精品精华液一区二区三区 | 91精品一区二区三区久久久久久| 成人v精品蜜桃久久一区| 精品一区二区三区在线播放| 亚洲va在线va天堂| 亚洲精品你懂的| 专区另类欧美日韩| 国产精品午夜久久| 国产精品丝袜在线| 中文字幕精品综合| 亚洲图片你懂的| 中文字幕一区二区在线观看| 国产欧美一二三区| 国产日产欧产精品推荐色| 精品成人私密视频| 久久伊人蜜桃av一区二区| 久久中文字幕电影| 国产日本一区二区| 国产区在线观看成人精品| 久久久久久久久99精品| 久久精品免视看| 国产三级精品三级在线专区| 国产欧美中文在线| 亚洲欧洲性图库| 樱桃视频在线观看一区| 亚洲精品国产成人久久av盗摄| 亚洲欧美日韩一区二区 | 欧美视频日韩视频| 欧美三级日韩在线| 欧美一区二区在线看| 日韩欧美资源站| 久久久久久夜精品精品免费| 久久久综合精品| 中文字幕一区视频| 亚洲成人资源在线| 狠狠色丁香久久婷婷综合丁香| 国产资源精品在线观看| 成人免费视频一区二区| 日本高清不卡视频| 欧美一级二级在线观看| 精品国产乱码久久久久久久久| 国产婷婷一区二区| 亚洲精品欧美激情| 美国精品在线观看| 国产91丝袜在线观看| 91久久精品日日躁夜夜躁欧美| 欧美日韩精品一二三区| 久久亚洲捆绑美女| 亚洲女人的天堂| 久久福利视频一区二区| 成人动漫中文字幕| 欧美一区二区视频网站| 国产精品色婷婷久久58| 亚洲成人黄色小说| 国产成人综合亚洲91猫咪| 一本到高清视频免费精品| 欧美日韩久久一区| 国产精品久久久久精k8| 偷窥少妇高潮呻吟av久久免费| 国产一区二区精品在线观看| 91国产精品成人| 国产欧美日韩精品在线| 亚洲成人免费观看| www.亚洲色图.com| 日韩欧美亚洲一区二区| 亚洲精品亚洲人成人网在线播放| 蜜桃av一区二区在线观看| 91麻豆国产自产在线观看| 91精品在线免费| 亚洲一区二区三区不卡国产欧美| 国产伦精品一区二区三区在线观看 | 国产成人综合自拍| 91精品国产欧美日韩| 亚洲欧美日韩人成在线播放| 国产一区二区在线免费观看| 3atv一区二区三区| 亚洲女爱视频在线| 国产成人av一区二区三区在线| 在线电影一区二区三区| 1024国产精品| 国产成人精品三级| 欧美白人最猛性xxxxx69交| 亚洲成a人v欧美综合天堂下载 | 成人美女在线视频| www国产精品av| 奇米888四色在线精品| 色88888久久久久久影院野外| 国产精品美女视频| 国产大陆a不卡| 国产亚洲欧美一区在线观看| 精品亚洲aⅴ乱码一区二区三区| 欧美日高清视频| 亚洲日本va午夜在线影院| 成人精品电影在线观看| 国产欧美一区视频| 成人午夜av电影| 国产人妖乱国产精品人妖| 国产成人在线色| 久久久不卡影院| 国产一区二区精品久久99| 久久天堂av综合合色蜜桃网| 加勒比av一区二区| 国产亚洲综合av| 丁香啪啪综合成人亚洲小说 | 99久久久久免费精品国产 |