discdemod.h

来自「WCDMA的仿真程序,分别用C和MATLAB两种语言仿真」· C头文件 代码 · 共 73 行

H
73
字号
/* | | Copyright disclaimer: |   This software was developed at the National Institute of Standards |   and Technology by employees of the Federal Government in the course |   of their official duties. Pursuant to title 17 Section 105 of the |   United States Code this software is not subject to copyright |   protection and is in the public domain. | |   We would appreciate acknowledgement if the software is used. |*//* | Project:     WCDMA simulation environment | Module:      Discrete CDMA downlink demodulation containing QPSK data  |		and spreading modulation. |		No multipath, i.e. ideal channel and synchronisation. | Author:      Tommi Makelainen, Nokia/NIST | Date:        February 23, 1999 | | History: |              February 23, 1999 Tommi Makelainen |                      Initial version. | */#include "config_wcdma.h"/* ------------------------------------------------------------------- *//* * Function:    wcdma_demod_init * Desc.:       Discrete data and spreading demodulation initialization. * * Note: */int wcdma_demod_init(void);/* -------------------------------------------------------------------- *//* * Function:    wcdma_dl_demod * Desc.:       Data and spreading modulation * * Note: *		Input data length can be maximum of 4000 symbols. *		Output vector length is: *			nInputs / sf * 2 */int wcdma_dl_demod(int I_inputs[],	/* I input symbol vector */		       int Q_inputs[],	/* Q input symbol vector */                       int nInputs,	/* input vector size */                       int code[],      /* spreading code */                       int code_len,	/* length of spreading code */                       int sf,		/* spreadign factor */                       int coded_out[]);  /* channel coded output *//* -------------------------------------------------------------------- *//* * Function:    wcdma_dl_demod_free * Desc.:       Discrete modulation clean up function. * * Note: */int wcdma_dl_demod_free(void);/* -------------------------------------------------------------------- */

⌨️ 快捷键说明

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