-
EvaluateReversePolishNotation
Evaluate the value of an arithmetic expression in Reverse Polish Notation.
Valid operators are +, -, *, /. Each operand may be an integer or another expression.
Some examples:
[ 2 , 1 , + , 3 , * ] -> ((2 + 1) * 3) -> 9
[ 4 , 13 , 5 , / , + ] -> (4 + (13 / 5)) -> 6
分析:这一题就是写程序计算逆波兰式的结果,遍历表达式,碰到操作数入栈,碰到操作符就从栈顶取出两个操作数,再将计算后的结果入栈,最后栈中剩余的唯一操作数就是计算结果。(. Evaluate the value of an arithmetic expression in Reverse Polish Notation Valid operators are+,-,*,/Each operand may be an integer or another expression Some examples:.. [" 2" , " 1" , " +" , " 3 " ," * " ]-> ((2+ 1)* 3)-> 9 [" 4 " ," 13 " ," 5 " ," /" ," + " ]-> (4+ (13/After this problem is to write a program to calculate the inverse Polish results, iterate expression operand stack encounter, encounter operator to fetch two operands the stack, and then calculated as follows:> 6 Analysis- 5)) The results of the stack, the only remaining operand stack is the final calculations.)
- 2015-03-15 23:06:09下载
- 积分:1
-
basic-SVM_Indian_pines
svm_进行indian_pines数据集合分类。(use svm to classify the indian_pines data with train and test data in the rar)
- 2015-05-20 16:14:25下载
- 积分:1
-
Matlabhandbook
有关matlab的详细介绍,有关matlab初步学习的形象指导(introduction of matlab )
- 2009-03-21 09:41:09下载
- 积分:1
-
MUSIC
负正弦加白噪声随机过程下使用MUSIC方法进行信号频率估计仿真,信号样本数去1000,估计的自相关矩阵为8阶,分别采用AIC和MDL准则估计信号源个数,并画出相应的MUSIC频率估计谱线。(Negative sine plus white noise random process method using MUSIC frequency estimation simulation, signal samples to 1000, the estimated autocorrelation matrix of order 8, AIC and MDL criteria were used to estimate the number of signal sources, and draw the corresponding MUSIC frequency spectrum estimation.)
- 2013-10-30 21:31:37下载
- 积分:1
-
capon_sp
一种波达方向估计的CAPON方法。波束形成就是从传感器阵列重构源信号。(The Capon method for direction of arrival estimation.)
- 2013-12-05 13:03:44下载
- 积分:1
-
Diandongjitiaosu
说明: 在计算机上实现直流电动机的脉宽调速、双闭环晶闸管调速的Simulink仿真,可以较为形象的观察电动机的调速全过程,同时可以改变相关参数来实现不同情况下的调速过程。(The computer realization of the PWM DC Motor Speed Control, dual-closed-loop speed control thyristor Simulink simulation, the image can be observed the whole process of motor speed, while the relevant parameters can change under different circumstances to achieve the speed control process.)
- 2008-10-07 08:47:33下载
- 积分:1
-
Lucy-Richardson-Algorithm
Project on Image Restoration
- 2013-11-12 18:00:16下载
- 积分:1
-
10.1.1.134.4053-(2)
MATLAB CODE FOR NEURAL NETWORKS
- 2013-05-08 13:20:59下载
- 积分:1
-
sift_MATLAB+VC_ImageFusion
sift MATLAB+VC Image Fusion,MATLAB和VC混合编程,用SIFT算法实现图像拼接功能。(sift MATLAB+ VC Image Fusion, MATLAB and VC mixed programming, using SIFT algorithm image mosaic function.)
- 2021-03-04 18:49:32下载
- 积分:1
-
matlbdsp_2
we can use this file for compressive sensing
- 2010-11-08 08:41:16下载
- 积分:1