-
onoff
f the input is a numeric array, it returns a cell array of strings of on or off depending on the logical outcome.
Conversely, if the input is a cell array of strings of on or off , then it does the reverse, i.e. returns the logical matrix where on is true and off is false.
It is very useful when using set/get on arrays of handle objects or arrays of properties/values.
Example:
onoff( [0, 1, 0]) gives { off , on , off }
onoff({ on , on , off }) gives [1, 1, 0]
It also works for mixed cell array inputs, and for other string pairs:
yes/no, ok/cancel, open/closed
- 2009-09-07 18:18:36下载
- 积分:1
-
chemoactbx
国外一个matlab工具箱,里面包括mlr,pca,pls,kpcr等(Abroad, a matlab toolbox, which includes mlr, pca, pls, kpcr, etc.)
- 2007-11-26 21:48:02下载
- 积分:1
-
MIMOOFDM(VBLAST)
MIMO-OFDM系统的VBLAST使用MATLAB编程(MIMO-OFDM system using the MATLAB programming VBLAST)
- 2009-05-06 14:26:10下载
- 积分:1
-
fengjiguangfujianmo
风机光伏的simulink建模,能够很好的仿真风机与光伏的特性,可以扩展为任意微网或者配网中的分布式发电模块(Fan PV simulink modeling, simulation can be a good fan and photovoltaic properties, can be extended to any micro-network or distribution network of distributed generation module)
- 2013-11-19 09:45:32下载
- 积分:1
-
ofdm-matlab
基于matlab 的ofdm调制,主要采用bpsk的调制方式,有误码率测试(Ofdm matlab-based modulation, mainly bpsk modulation, there is a bit error rate test)
- 2015-04-19 16:52:03下载
- 积分:1
-
rls
这是一个论文中给出自适应均衡的RLS算法的仿真程序(This is a paper given in the RLS algorithm for adaptive equalization of the simulation program)
- 2009-11-12 13:50:27下载
- 积分:1
-
NUMERICALANALYSIS
some code for numerical analysis.The main goal is to provide insight into numerical analysis rather than merely to provide numerical recipes.
- 2010-05-13 22:38:33下载
- 积分:1
-
CVgray1
说明: 在matlab7中可以运行。其功能是实现用CV模型对灰色图像进行分割。(It Can be run in matlab7. function: It can make the gray image segmentation using the CV model .)
- 2010-04-26 22:15:46下载
- 积分:1
-
chi2test
此代码用于具有卡方或近似卡方分布的统计量的假设检验(chi-square test)
- 2020-11-16 21:29:42下载
- 积分:1
-
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