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

📄 code.h

📁 WCDMA的仿真程序,分别用C和MATLAB两种语言仿真
💻 H
字号:
/* | | 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:     | Author:     | Date:       | | History: |*/      #ifndef CODE_H#define CODE_H#include <stdlib.h> #include <math.h>#include <stdio.h>#include "config_wcdma.h"struct code_matrix_type{  int code_len;            /* Code length /**/  int index;               /* Code index /**/};typedef struct code_matrix_type code_matrix;#define MAX_CODES 20int wcdma_code_init(   int code_lenght);  /* IN: code length/**/int wcdma_ovsf_code(   int instance,      /* IN: code instance/**/		       int code[]);       /* OUT: Code /**/int wcdma_ovsf_code_double(		       int instance,       /* IN: code instance/**/		       double code[]);     /* OUT: Code /**/int wcdma_get_ovsf_code(			int nCode,        /* IN: code length/**/			int index,        /* IN: code index/**/			int *code);       /* OUT: Code /**/int wcdma_get_ovsf_code_double(			int nCode,        /* IN: code length/**/			int index,        /* IN: code index/**/			double *code);    /* OUT: Code /**/int wcdma_code_tree_update(			   int instance,  /* IN: code instance/**/ 			   code_matrix *code_tree); /* IN /OUT : Code matrix /**/ void code_print(  int instance);           /* IN: code instance/**/ int wcdma_code_free(   int instance);      /* IN: code instance/**/ #endif /*CODE_H/**/

⌨️ 快捷键说明

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