-
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
-
LFM_signal
生成一段线性调频信号,并用脉冲压缩技术对信号进行接收,得到脉冲的时延信息(Generate a linear FM signal, and pulse compression technology to receive the signal pulse delay)
- 2012-06-16 23:02:12下载
- 积分:1
-
BER_ISIch_MMSE
Script for computing the BER for BPSK modulation in 3 tap ISI channel. Minimum Mean Square Error (MMSE) equalization with 7 tap and the BER computed (and is compared with Zero Forcing equalization)
- 2011-10-14 02:50:22下载
- 积分:1
-
diedai
这5个小程序分别为:用Monte Carlo随机法圆柱相交体的体积;用刘徽割圆法计算pi;梯形法.辛普森法计算圆周率;蒲丰掷针实验程序;线性函数的迭代(This five small programs were: using Monte Carlo random method cylinder intersects the volume cyclotomic method with Liu Hui pi trapezoidal method Simpson method to calculate pi Buffon throw needles experimental procedures linear function of iteration)
- 2013-08-31 14:47:59下载
- 积分:1
-
sampling
samling using matlab
- 2009-09-04 07:41:37下载
- 积分:1
-
REWIND_D31_StandardizationDocument_v12
This document is an stansardization activity of MMR WiMAX networks done by REWIND project team
- 2010-07-27 11:30:51下载
- 积分:1
-
37724117Texture_Classification_With_Linear_Regres
tEXCURE CLASSIFICATION
- 2010-01-14 01:16:17下载
- 积分:1
-
mi_pc
CPU exception context structure in MP shared ram after trap.
- 2014-08-20 21:31:00下载
- 积分:1
-
dpll_fixpt
Simulink all digital pll with fixed point
- 2012-09-11 06:54:00下载
- 积分:1
-
Q2
Run DC power flows and calculate network response of three tie lines for any additional MW transfer from Area to area
- 2013-11-09 11:21:55下载
- 积分:1