// This program measures the voltage on an external ADC input and prints the // result to a terminal window via the UART. // // The system is clocked using the internal 24.5MHz oscillator. // Results are printed to the UART from a loop with the rate set by a delay // based on Timer 2. This loop periodically reads the ADC value from a global // variable, Result.
标签: the measures external program
上传时间: 2013-12-27
上传用户:trepb001
// // Histogram Sample // This sample shows how to use the Sample Grabber filter for video image processing. // Conceptual background: // A histogram is just a frequency count of every pixel value in the image. // There are various well-known mathematical operations that you can perform on an image // using histograms, to enhance the image, etc. // Histogram stretch (aka automatic gain control): // Stretches the image histogram to fill the entire range of values. This is a "point operation," // meaning each pixel is scaled to a new value, without examining the neighboring pixels. The // histogram stretch does not actually require you to calculate the full histogram. The scaling factor // is calculated from the minimum and maximum values in the image.
标签: Sample Histogram Grabber sample
上传时间: 2013-12-15
上传用户:ryb
表达式类型的实现: 1、 一个表达式和一颗二叉树之间,存在着自然的对应关系。 2、 假设算术表达式Expression内可以含有变量(a~z)、常量(0~9)和二元运算符(+,-,*,/,^)。实现一下操作。 (1) ReadExpr(E)——以字符序列的形式输入语法正确的前缀表示式并构造表达式E。 (2) WritrExpr(E)——用带括弧的中缀表示式输出表达式E。 (3) Assign(V,c)——实现对变量V的赋值(V=c),变量的初值为0。 (4) value(E)——对算术表达式E求值。 (5) CompoundExpr(P,E1,E2)——构造一个新的复合表达式(E1)P (E2)。
上传时间: 2013-12-09
上传用户:luke5347
The MDP toolbox proposes functions related to the resolution of discrete-time Markov Decision Process : finite horizon, value iteration, policy iteration, linear programming algorithms with some variants. The functions (m-functions) were developped with MATLAB v6.0 (one of the functions requires the Mathworks Optimization Toolbox) by the decision team of the Biometry and Artificial Intelligence Unit of INRA Toulouse (France). The version 2.0 (February 2005) handles sparse matrices and contains an example
标签: discrete-time resolution functions Decision
上传时间: 2014-01-01
上传用户:xuanjie
Image Compression A collection of simple routines for image compression using different techniques. 图象压缩的不同方法 BTCODE: Image compression Using Block Truncation Coding. PYRAMID: Image compression based on Gaussian Pyramids. DCTCOMPR: Image compression based on Discrete Cosine Transform. IMCOMPR: Image compression based on Singular value Decomposition. The given codes can be also used in 2D noise suppression. Notes: The function "conv2fft" performs a 2D FFT-based convolution. Type "help conv2fft" on Matlab command window for more informations.
标签: Compression compression collection different
上传时间: 2016-05-11
上传用户:磊子226
This program is used to measure the temperature sensor on an F330 device. It uses 1-point calibration and stores the offset value in FLASH memory. The program outputs temperature values in 100ths of a degree Celsius with UART.
标签: temperature calibrati program measure
上传时间: 2014-01-19
上传用户:啊飒飒大师的
AutomaticPropertiesDefaultvalues Article_src.zip PropertyInfo[] props = o.GetType().GetProperties(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static) for (int i = 0 i < props.Length i++) { PropertyInfo prop = props[i] if (prop.GetCustomAttributes(true).Length > 0) { object[] defaultvalueAttribute = prop.GetCustomAttributes(typeof(DefaultvalueAttribute), true) if (defaultvalueAttribute != null) { DefaultvalueAttribute dva = defaultvalueAttribute[0] as DefaultvalueAttribute if(dva != null) prop.Setvalue(o, dva.value, null) }
标签: AutomaticPropertiesDefaultvalues PropertyInfo Article_src GetPropert
上传时间: 2014-11-22
上传用户:xaijhqx
1.一个表达式和一个二叉树之间,存在着自然的对应关系。写一个程序,实现基于二叉树表示的算术表达式Expression的操作。 2.假设算术表达式Expression内可以含有变量(a~z)、常量(0~9)和二元运算符(+,-,*,/,^(乘幂))。实现以下操作: ⑴ReadExpr(E)——以字符序列的形式输入语法正确的前缀表达式并构造表达式E。 ⑵WriteExpr(E)——用带括弧的中缀表达式输出表达式E。 ⑶Assign(V,c)——实现对变量Vde赋值(V=c),变量的初值为0。 ⑷value(E)——对算术表达式E求值。 ⑸CompoundExpr(P,E1,E2)——构造一个新的复合表达式(E1)P(E2)。 3.在读入表达的字符序列的同时,完成运算符和运算数的识别和处理以及相应的运算。 4.在识别出运算数的同时,要将其字符形式转换成整数形式。 5.用在后根遍历的次序对表达式求值。
上传时间: 2014-11-27
上传用户:偷心的海盗
The MEASURE program uses analog and digital inputs to simulate a datalogger. You may watch the value of analog input POT1 and the state of S2, S3 Buttons on MCBSTM32 evaluation board.
标签: datalogger simulate MEASURE program
上传时间: 2016-07-17
上传用户:qq21508895
ofdm信道特性 Channel transmission simulator Channel transmission simulator % % inputs: % sig2 - noise variance % Mt - number of Tx antennas % Mr - number of Rx antennas % x - vector of complex input symbols (for MIMO, this is a matrix, where each column % is the value of the antenna outputs at a single time instance) % H - frequency selective channel - represented in block-Toeplitz form for MIMO transmission % N - number of symbols transmitted in OFDM frame % % outputs: % y - vector of channel outputs (matrix for MIMO again, just like x matrix) % create noise vector sequence (each row is a different antenna, each column is a % different time index) note: noise is spatially and temporally white
标签: transmission simulator Channel inputs
上传时间: 2016-07-22
上传用户:kelimu