-
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
-
pca
matlab的主元分析问题。这个程序分三部分,读入图像生成数据,归一化,然后PCA降维。在PCA降维中调用软件自带函数。(pca in matlab)
- 2012-11-28 17:03:58下载
- 积分:1
-
677956 粒子滤波原理及应用 MATLAB仿真
说明: 全文目录包括:
1、绪论
2、编程基础
3、概率论与数理统计基础
4、蒙特卡洛原理
5 粒子滤波原理
6 改进粒子滤波算法
7 粒子滤波在目标跟踪中的应用
8 粒子滤波在电池寿命估计中的应用(Full text catalog includes:
1. Introduction
2.Fundamentals of programming
3. Probability theory and basis of mathematical statistics
4. Monte Carlo principle
5 principle of particle filter
6. Improved particle filter algorithm
7. Application of particle filter in target tracking
8. Application of 8 particle filter in battery life estimation)
- 2020-05-27 19:37:18下载
- 积分:1
-
An_improved_ekf_new_methods
本文对于非线性非高斯问题,提出了一种改进扩展卡尔曼滤波(NIEKF)新方法。该方法将迭代滤波理论引入到扩展卡尔曼滤波器方法中,有效地重复利用新的测量信息,还利用Levenberg-Marquardt 方法调整预测协方差阵以保证算法具有全局收敛性。实验结果表明,所提方法具有更高的估计精度,是一种效率较高、性能较好的跟踪方法。(This non-Gaussian for nonlinear problems, an improved extended Kalman filter (NIEKF) the new method. The method of iterative filtering theory is introduced to the extended Kalman filter method, the effective measurement of repeated use of the new information, also using Levenberg-Marquardt method to adjust the covariance matrix of prediction algorithm to ensure global convergence. Experimental results show that the proposed method has higher estimation accuracy, is a high efficiency, good performance tracking methods.)
- 2010-10-21 20:17:49下载
- 积分:1
-
ESPRIT
旋转不变算法--esprit,以《现代信号处理》(张贤达)书上所讲过程所写(Rotation invariant algorithm- esprit, to the "Modern Signal Processing" (Zhang XD) wrote the book talking about the process)
- 2013-12-15 14:07:25下载
- 积分:1
-
MATLAB-analysis-cantilever-problem
用有限元法对悬臂梁分析的算例 本算例根据Matlab软件结合有限元分析悬臂梁 跟出Matlab代码及结果(Examples of the cantilever beam analysis using the finite element method in this study combined with the finite element analysis based on Matlab software cantilever)
- 2015-12-12 10:33:56下载
- 积分:1
-
tftb-0.2
时频分析,用于对雷达、通信、声纳、图像、生物医学等的信号检测与时频分析处理(time-frequency analysis)
- 2010-06-16 12:03:09下载
- 积分:1
-
Matlab-Xfoil
使用Matlab语言生成Xfoil的计算文件,并调用Xfoil快速计算翼型的气动力(Using Matlab language generation Xfoil calculation file and call Xfoil quick calculation of aerodynamic airfoil)
- 2020-10-26 16:19:59下载
- 积分:1
-
simstruc
simulink应用实例,基于MATLAB6.5系列(Simulink application examples, based on a series of MATLAB6.5)
- 2007-05-04 09:45:28下载
- 积分:1
-
ndhist
matlab code for Efficient 2D histogram, no toolboxes needed
- 2015-02-03 14:03:07下载
- 积分:1