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

📄 main_burst.c

📁 介绍关于WiMax(IEEE802.16)物理层调制解调编码等相关设计实现
💻 C
字号:
/*****************************************************************************//*   FIle Name : main_burst.c                                                *//*   Description : Wi-Max SC  a single frame Tests with a single burst       *//*   author : miffie                                                         *//*   Date   : oct/20/05                                                      *//*   Copyright (c) 2005 miffie   All rights reserved.                        *//*****************************************************************************/#include <stdio.h>#include <stdlib.h>#include <math.h>//Global variableschar   print_on = 1 ;static double root2 = 1.414213562 ;static  double pi = 3.141592654 ;#define  PRINTF if (print_on) printf#define  FPRINTF if (print_on) fprintfint LPF_THRESHOLD  = 128 ;int DRIFT_PERIOD   = 4 ;int CHANGE_AMOUNT  = 16 ;#include "../env/header.h"struct fingerstruct {  char    delay ;  double  realp ; //real part  double  image ;} ;struct complex sram[44] ;#include "../env/struct.h"#include "../env/files.h"main(int argc , char *argv[]) { //main int 	ii , jj ;int     number_tests = 3 ;int	fail ;  //Main     sscanf(argv[1], "%d" , &ii) ;    //printf(" argv=%d\n" , ii ) ;    srand( ii ) ;  //parameters    PRINTF("\n") ;    PRINTF("S T A R T  %0d th test\n" ,ii ) ;    PRINTF("\n") ;    fail = burst_random () ;    if (fail) { PRINTF("%dth test failed %d\n", ii , fail ) ; }    else { PRINTF("%dth test passed ^x^)v\n", ii) ; }    PRINTF("\n") ;    exit ( fail ) ;} //main

⌨️ 快捷键说明

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