搜索资源列表
biaodashiqiuzhi
- 题目:设计一个题目,演示用算符优先法对算术表达式求值的过程。 概要设计 1、顺序扫描中缀算术表达式,当读到数字时直接将其送至输出队列中; 2、当读到运算符时,将栈中所有优先级高于或等于该运算符弹出,送至输出队列中,再将当前运算符入栈; 3、当读入左括号时,即入栈; 4、当读到右括号时,将靠近栈顶的第一个左括号上面的运算符全部一次弹出,送至输出队列中,再删除栈中的左括号。 5、使用VS栈来存储读入的操作和运算结果,然后进行数字字符到数值的转换。
MAIN 3-DIMENSIONAL CFD-PROGRAM
- #//u(i,j) x方向的速度u;或者θ方向速度uθ #//u(i,j) y方向的速度v;或者径向速度ur'h\K #//pc(i,j) 压力修正 p'[OS #//p(i,j) 压力p-=5-+ #//p(i,j)
matchalgrithm.rar
- 检验括号是否匹配可以用堆栈来实现,当遇到 (、[或{进栈,遇到 ) 、]或}出栈进行匹配检验,如果出现不匹配的情况立即结束,否则继续取下一个字符。如果没有遇到不匹配的情况,最后判断栈是否为空,栈为空,括号匹配,否则不匹配。并设置大、中、小括号的优先级(priory)为3、2、1 ,且设优先级(priory)的初始值为4。从第一个字符开始扫描表达式,如果是左括号,和栈中的括号的优先级对比,如果优先级比栈中括号的优先级高或者等于栈中的优先级,则说明不匹配,如果优先级小于栈中括号的优先级,将这个括
8*8点阵循环显示“电气二加油”
- 8*8点阵循环显示“电气二加油”,按照逐列扫描的方式编写程序-8* 8 dot matrix cycle, "Electrical two refueling," according to the column by way of written procedures for scanning
Version_2p2_Final
- TDMS的文件读取到Matlab。 优点: -支持读取v2的文件 -不需要使用NI的DLL,因此它不需要32位窗口 - 支持隔行扫描数据 -只允许读的名称及属性,以得到一个文件是什么感觉快 - 允许读数据的特定子集 -Reads TDMS files into Matlab. Advantages: - supports reading v2 files - doesn t require the NI DLL, thus
EZW算法的过程详解和Matlab代码
- EZW算法的过程详解和Matlab代码(1)构建扫描次序表(修正小波树结构)写出EZW算法的Matlab程序,可以实现图像的任意级别的小波分解和重构、以及任意精度的EZW编解码过程。下面,我们以一幅16*16的Lena局部图像经过3级小波分解后的小波数据为例详细的说明EZW算法的编解码过程,并给出相应的Matlab代码。-Explain the process of EZW algorithm and Matlab code (1) building a scan list (Amendment
deinterlace
- 设计一个去隔行算法。把一段隔行扫描格式的视频序列转换成逐行扫描格式的视频。-Design a de-interlacing algorithm. To a sequence of interlaced video format into progressive scan video format.
BOX
- 最少背包问题:假设有许多盒子,每个盒子能保存的总重量为1.0。有N个项i1,i2,…,iN,它们的重量分别是w1,w2,…,wN。目的是用尽可能少的盒子放入所有的项,任何盒子的重量不能超过他的容量。例如,如果想的重量为0.4, 0.4, 0.6和0.6,用两个盒子就能解决。 按如下策略解决此问题:按给定的次序扫描每一个项,把每一个项放入能够容纳他而不至于溢出的最满的盒子。用优先级队列选择要装入的盒子。-Minimum knapsack problem: Suppose there are m
删除无用字符
- 编制一个扫描子程序,该扫描程序能删除无用的空白字符、回车字符以及其他与输入介质相关的非实质性字符,用“#”分隔单词流。
huofuman
- 霍夫曼编码的基本方法是先对图像数据扫描一遍,计算出各种像素出现的概率,按概率的大小指定不同长度的唯一码字,由此得到一张该图像的霍夫曼码表。编码后的图像数据记录的是每个像素的码字,而码字与实际像素值的对应关系记录在码表中。-Huffman coding method is first scanned image data again, to calculate the probability of a variety of pixel specify a different length uniq
jianpanxianshi
- avr单片机的键盘扫描及lcd和led显示-avr Singlechip keyboard scanning and lcd and led display
express
- 这个源码是用来通过顺序的扫描输入流中的数据,来计算表达式,这个代码在一般的表达式计算,比如:解析器构造中对表达式的处理都是有用的-This source is used to scan through the sequence of input stream data, to calculate the expression, the code in the general expression of the calculation, such as: Parser Construction o
opt
- 最优化寻找程序,对芯片的参数进行扫描得到最优输出-Optimize the search procedure, the parameters of the chip to scan the optimal output
fensduan
- 采用分段设置采样速率的方式,用MATLAB仿真实现新型频率特新测试方法——调频脉冲扫描法和组合正弦波法。-The use of sub-sampling rate settings the way, using MATLAB simulation of the frequency of implementation of new special new test methods- FM-pulse scanning method and the combination of sine-wave
key_4
- 键盘操作 键盘扫描 用的是单片机mega16-Keyboard keyboard scanning are used in single-chip mega16
intersection
- 计算水平线与垂直线交点个数问题。扫描方法计算。-Calculation of horizontal and vertical line of intersection the number of questions. Scanning method.
chengxu
- 键盘译码程序是开发项目中最常用到的程序,它的好坏,直接影响着整个程序!现在介绍一个使用非常广泛的Keil C51键盘译码程序。 在主程序中不断调用KeyBord(),可以不停地扫描键盘! -Keyboard decoding process is the most commonly used development process, it is good or bad, a direct impact on the entire process! Now describe a very
EZW
- C语言编写的EZW编解码算法,其中编码扫描的方式为先入先出原则-C language EZW codec algorithm, which scans the code for the principle of FIFO
jianpangpingmu
- 4x4键盘,1602液晶,数码管扫描,led点阵显示设计,按键查询-4x4 keypad, 1602 LCD, digital scanning tube, led dot matrix display design of key inquiries
find
- 数据结构中的顺序表和数表的查找算法。基本思想:从表的一端开始,顺序扫描线性表,依次将扫描到的结点的关键字与给定值k进行比较,若相等,则查找成功;若扫描到表的另一端仍没有找到与关键字k相等的结点,则查找失败。-Data structure in the order list and several forms of the search algorithm. The basic idea: to start from one end of the table, the order of the l