搜索资源列表
decode_ldpc
- LDPC 译码器 function [vhat]=decode_ldpc(rx_waveform,No,amp,h,scale) [vhat]=decode_ldpc(rx_waveform,No,amp,h,scale)-LDPC decoder
tree
- 多元树的层次遍历、先根遍历、后根遍历 问题的描述: 函数填空:层次遍历多元树(在文件tree.cpp中3个空)、先根遍历、后根遍历的递归函数(在文件tree.h中2个空); 多元树的输入:在主程序中调用多元树的函数(定位根、找大儿子、找下一个兄弟等),输入某棵多元树。 -Multi-level tree traversal, the first traversal the root, root traversal issues Descr iption: function to
floatfun
- 编函数 float fun(double h),函数的功能是:对变量h中的值保留两位小数,并对第三位进行四舍五入(规定h中的值为正数)。 例如:若h 值为8.32433,则函数返回8.32 若h值为8.32533,则函数返回8.33。 -Function for float fun (double h), the function of function: The value of the variable h in the retention of two decimals, and
yuli
- 使用查表发实现公历转换为农历 文件说明 luanrday.h 头文件,声明了公历到农历转换的函数 luanrday.cpp 实现文件,实现了公历到农历的转换函数 chdate.cpp 例子程序,使用luanrday实现功能:使用汉字显示当前农历日期.-Made the realization of the use of look-up table is converted to the Lunar calendar luanrday.h document descri
HMM
- 通用HMM,文件:Hmm.h and Hmm.cpp是Hmm class cmain.cpp是用c语言写的测试函数 main.cpp是用c++语言(stl)写的测试函数 HmmData.txt是一个hmm的存储文件,可由程序读出-Universal HMM, file: Hmm.h and Hmm.cpp yes Hmm class cmain.cpp is written in c language test function main.cpp is c++ language
hashmap
- 哈希表的实现 hashmap.h - declaration of class HashMap hashmap.cpp - definition of class HashMap hash-driver.cpp demonstrates use of class HashMap and its member functions.-A Hash Table Implementation The following header file and implementation fil
work
- matlab 关于association rule 的自己写的函数,有3个文件, association.m:h = association(m, i, j) i=>j, m是数据,h是support和confidence,该函数只适用于单个数据 ass_item: h=ass_itset(m, a, b) 同上,但是可用于多个数据(m为数组) assrule: h = assrule(m, threshold1, threshold2) 该函数用于c
Houtputfeedbackcontrolofdoubleinvertedpendulum
- 实现的二级倒立摆H无穷输出反馈控制,用的是MATLAB里的自带函数,基于LMI算法-To achieve double inverted pendulum H infinity output feedback control, using a MATLAB built-inside the function, based on LMI algorithm
PAD
- // pad.h - 功能头文件,用来对字符串操作,对字符串按要求进行填充, // 如左填充 padl("123",6,"0") 结果是000123 // 格式说明: 左填充为例: padl("欲填充字符串(原始字符串)",填充后字符串总长度,"用来填充的字符串")-//Pad.h- Function header files used for string operations, as required to fill the string,// like the left paddi
myTestFunctor
- c++ 的 functor实现,支持c函数和成员函数,使用非常简单,源码带使用例子 包含头函数:#include "Functor.h" 初始化c函数指针 Functor< int, int, int, int, int, int > fun1( &FuncSum ) printf( "fun1: d\n", fun1.Exec( 1, 2, 3, 4, 5 ) ) Functor< int, int, int, int, int, int > f
StatesMachineTest
- 该程序为实现一个有限状态机。 CallbackFuncManager.cpp 回调函数 StatesMachineApp.h 有限状态机-The program for the realization of a finite state machine. CallbackFuncManager.cpp callback function StatesMachineApp.h finite state machine
nmfmatlab7
- 非负矩阵分解应用于脸部图像识别的MATLAB程序-function [W H] = nmf(V,r,maxiter)
rossler
- 混沌工具function [x,y,z]=rossler(n,level,a,b,c,x0,y0,z0,h)-function [x,y,z]=rossler(n,level,a,b,c,x0,y0,z0,h)
C_graphics.h
- C语言图形、图像函数 功能实用全面介绍-C language graphics, images, full function functional and practical introduction
MathSourceCode
- 共有五个文件夹,名称分别为:①BCMATH;②VCMATH;③CURVE;④SOUND;⑤examples。 与数学常用算法有关的C++类与函数的源代码是在BCMATH和VCMATH两个文件夹中,具体使用哪个文件夹,视读者的编译系统而定。如果读者使用的是Borland C++编译系统(简称为BC++),则使用BCMATH文件夹中的所有文件(Borland C++的语法规则相当标准,因此该文件夹中的源代码也可以用在其他标准的C++编译系统中);如果读者使用的是微软的Visual C++编译系统
searching
- /* binarysearch() - A binary search implementation which takes the same * arguments as the C library function bsearch() provided by stdlib.h. It * searches the sorted array at address base, which has nmemb elements, each of * which is size b
mbus
- modbus Public Sub Build_Request() Dim CRCWord As Long ReqLen = 0 With Main Slave Address .Request.Text = .Slave_Addr_Hex.Text + " " RequestStr(ReqLen) = Val("&H" + .Slave_Addr_Hex.Text) ReqLen = ReqLen + 1 Function
111
- 5. 定义一个函数long invers(long x),x为一个6位整数,函数功能是取x的高3位数(赋给h)和低3位各位数字(可从高位到低位依次存入变量a、b和c),将a、b和c逆序组合为一个整数t,计算h+t并将结果返回。-5. Define a function long invers (long x), x is a 6-bit integer, the function function is to take the high x 3 digits (assigned to h) an
arg_var
- 利用可变参数实现简单的printf函数 编写了两种实现方法, 1,用stdarg.h自带的va_start,va_arg等函数实现 2,根据可变参数的原理实现 主要是用于加深对可变参数的理解 vc6.0 测试通过-Variable parameters to achieve a simple printf function Prepared two ways to achieve 1, the stdarg.h comes the va_start, va_arg,
h
- 最简洁明了的数字金额中文大写函数使用VC编程-The most simple Chinese capital function using VC programming digital value
