⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 compcomp.c

📁 完整的OFDM系统,含Matlab仿真代码和DSP源代码下载.平台Tms320C6000.含项目说明文档.绝对高质量的源代码.
💻 C
字号:
//compcomp.c
//
// Project Red 2002: High Performance OFDM Modem 
// Against Channel Imperfections
// Auther: Linus Falk

#include "ofdm.h"
#include <stdio.h>

//#pragma CODE_SECTION(compcomp,"edata");
void compcomp(float frame[BLOCK_SIZE]){
	int i,j;
	frame[0] = 0;
	frame[1] = 0;
	frame[FFT_SIZE] = 0; //re
	frame[FFT_SIZE+1] = 0; //im
	for(i=(BLOCK_SIZE -2),j=2; i>= FFT_SIZE+2; i-=2,j+=2){
		frame[i] = frame[j]; //re
		frame[i+1] = -frame[j+1]; //im
	}
}


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -