1.产生白噪声程序 编程产生一组正态分布的白噪声信号,它的均值和方差以及长度可随意调整。将产生的白噪声信号存入数据文件。 本程序算法用C++语言编写。首先用乘同余法产生均匀分布白噪声,再用变换抽样法转换为高斯分布白噪声。算法及程序实现叙述如下。 1) 设定x初值为11,A=179,长度WNlength,均值Average,方差Serror为用户输入的变量; 2) M =235,ζi= x/M; 3) 取ζi的小数部分再赋值给ζi+1,这就是均匀分布白噪声; 4) 利用公式 η1=Serror×(–2*logζ1)0.5×cos(2pζ2) +Average η2= Serror×(–2*logζ1)0.5×sin(2pζ2) +Average 计算得到均值和方差可任意调整的白噪声序列。式中 为均匀分布白噪声。
上传时间: 2016-10-19
上传用户:hanli8870
The Inter IC bus or I2C bus is a simple bidirectional two wire bus designed primarily for general control and data transfer communication between ICs. Some of the features of the I2C bus are: • Two signal lines, a serial data line (SDA) and a serial clock line (SCL), and ground are required. A 12V supply line (500mA max.) for powering the peripherals often may be present. • Each device connected to the bus is software addressable by a unique address and simple master/ slave relationships exist at all times masters can operate as master-transmitters or as master-receivers. • The I2C bus is a true multi-master bus including collision detection and arbitration to prevent data corruption if two or more masters simultaneously initiate data transfer systems. • Serial, 8-bit oriented, bidirectional data transfers can be made at up to 100 KBit/s in the standard mode or up to 400 KBit/s in the fast mode.
标签: bus bidirectional primarily designed
上传时间: 2013-12-11
上传用户:jeffery
uart全功能实现.实现如下函数: U_Open, U_Close, U_GetBytes, U_PutBytes, U_GetBytesAvail, U_GetTxRoomLeft, U_PutISRBytes, U_GetTxISRRoomLeft, U_Purge, U_SetOwner, U_SetFlowCtrl, U_ConfigEscape, U_SetDCBConfig, U_CtrlDCD, U_CtrlBreak, U_ClrRxBuffer, U_ClrTxBuffer, U_SetBaudRate, U_SendISRData, U_SendData, U_GetOwnerID, U_SetAutoBaud_Div, /*TY adds these to expand flexibility 2004/10/15*/ U_Register_TX_cb, U_Register_RX_cb, /*TY adds these to let virtual COM port can retrive exception log 2005/3/8*/ U_GetUARTByte, U_PutUARTByte, U_PutUARTBytes, /*for virtual com port to return DCB configuration*/ U_ReadDCBConfig, U_CtrlRI, U_CtrlDTR, U_ReadHWStatus
标签: U_GetBytesAvail U_GetTxRoomL U_GetBytes U_PutBytes
上传时间: 2013-12-08
上传用户:GHF
mani: MANIfold learning demonstration GUI by Todd Wittman, Department of Mathematics, University of Minnesota E-mail wittman@math.umn.edu with comments & questions. MANI Website: httP://www.math.umn.edu/~wittman/mani/index.html Last Modified by GUIDE v2.5 10-Apr-2005 13:28:36 Methods obtained from various authors. (1) MDS -- Michael Lee (2) ISOMAP -- J. Tenenbaum, de Silva, & Langford (3) LLE -- Sam Roweis & Lawrence Saul (4) Hessian LLE -- D. Donoho & C. Grimes (5) Laplacian -- M. Belkin & P. Niyogi (6) Diffusion Map -- R. Coifman & S. Lafon (7) LTSA -- Zhenyue Zhang & Hongyuan Zha
标签: demonstration Mathematics Department University
上传时间: 2016-10-29
上传用户:youmo81
This paper presents a visual based localization mechanism for a legged robot. Our proposal, fundamented on a probabilistic approach, uses a precompiled topological map where natural landmarks like doors or ceiling lights are recognized by the robot using its on-board camera. Experiments have been conducted using the AIBO Sony robotic dog showing that it is able to deal with noisy sensors like vision and to approximate world models representing indoor ofce environments. The two major contributions of this work are the use of this technique in legged robots, and the use of an active camera as the main sensor
标签: localization mechanism presents proposal
上传时间: 2016-11-04
上传用户:dianxin61
采用Altera公司的FPGA芯片,在MAX+plus II软件平台上实现多路HDLC电路
上传时间: 2016-11-13
上传用户:zhyiroy
VC++编程,加密保护LOG文件的实例,对于初学者有帮助
上传时间: 2016-11-14
上传用户:邶刖
表达式计算器。表达式中只能有圆括号、函数名、运算符、常数与变量。一、变量名的命名规则:1、可以是字符、或字符串 2、不能以数字开头 3、不能夹杂有空格、运算符或标点符号,以及以下字符:\、|、=、&、%、$、@、#、`、~.二、函数有sin、cos、tan、cot、sqrt、asin、acos、atan、log,均需要小写。函数后的变量名可以加括号,也可以不要括号,如:log(C1)与logC1是相同的。三、运算符有+(加)、-(减)、*(乘)、/(除)与^(幂次)。
上传时间: 2014-01-07
上传用户:leehom61
常见java数据结构的使用方法,包括Arrays类Collections类HashSet类List类TreeSet类Map类Vector类
上传时间: 2014-02-10
上传用户:qiao8960
根据输入的参数不同,选用不同的算子对输入的图像进行边缘检测,包括sobel,log,canny等5哥算子
上传时间: 2016-11-18
上传用户:talenthn