?? qpsk.h
字號(hào):
/* | | 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: QPSK data modulation and demodulation | Author: Tommi Makelainen, Nokia/NIST | Date: January 6, 1999 | | History: | January 6, 1999 Tommi Makelainen | Initial version. | */#include <stdio.h>#include <math.h>/* * Function: wcdma_dl_qpsk_mod * Desc.: QPSK data modulation * * Inputs: * data input data bit vector * data_len length of input data vector, in bytes. * Outputs: * I_out output I parts of complex symbol vector * Q_out output Q parts of complex symbol vector * out output length of complex symbol vector * * Note: * Incoming data have to be a multiple of full bytes. * Output vectors must be 4 times longer than input vector. */int wcdma_dl_qpsk_mod(char data[], int data_len, char I_out[], char Q_out[], int *out_len);/* * Function: wcdma_dl_qpsk_demod * Desc.: QPSK data demodulation * * Inputs: * I_in input I part of complex symbol vector * Q_in input Q part of complex symbol vector * in_len length of input symbol vectors * Outputs: * out_data output symbol vector * out_len length of output symbol vector * * Note: */int wcdma_dl_qpsk_demod(char I_in[], char Q_in[], int in_len, char out_data[], int *out_len);
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -