-
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
-
huatu
画正弦和余弦任意幅度,频率,初相位三角函数图gui(Draw any sine and cosine amplitude, frequency, initial phase trigonometric graph gui)
- 2011-06-12 00:36:49下载
- 积分:1
-
em_3phase
ALTERNATOR MATLAB MODEL
- 2013-04-07 13:16:50下载
- 积分:1
-
SVM
Support Vector Machine支持向量机 课件(Support Vector Machine Support vector machine courseware)
- 2011-11-19 14:00:56下载
- 积分:1
-
TreeSpline
三次样条插值,自己编写的,如有错误和不妥之处,还请见谅,轻拍,谢谢(Cubic spline interpolation, I have written, if errors and inappropriate, also please forgive me, pat, thank you)
- 2009-03-20 19:30:01下载
- 积分:1
-
mssnr
we investigate a new blind adaptive fractionally-spaced TEQ (FS-TEQ) for multicarrier systems in order to reduce efficiently intersymbol interference. We also exploit the cyclic prefix and fractionally-spaced TEQ to create a blind adaptive globally convergent channel-shortening algorithm.
- 2009-10-21 15:45:41下载
- 积分:1
-
a-M-file-for-Counting-traffic-volume
一款简单的原创M脚本,通过帧直接识别视频中的车流量,使车流量数据的统计更加便捷。(A simple M original script by frame directly identify the video traffic, data traffic statistics to make more convenient.)
- 2017-03-16 19:56:52下载
- 积分:1
-
demosaic_su
Demosaicing Value Calculation
- 2013-08-03 09:13:16下载
- 积分:1
-
matlab-example100
Matlab 实用小程序100例。
都是很常用的,适合初学者。(100 cases of the Matlab practical applets. They Are very common for beginners.)
- 2012-06-05 16:39:11下载
- 积分:1
-
PSO
PSO工具,用户只需要定义好自己需要优化的函数(计算最小值或者最大值),并设置好函数自变量的取值范围、每步迭代允许的最大变化量(称为最大速度,Max_V)等,即可自行优化。(PSO tool, users only need to define their own needs optimization function (calculation of minimum or maximum), and set the good function from the range of variables, each iteration the maximum allowable variation (known as maximum speed, Max_V), etc. , can self-optimize.)
- 2013-05-25 15:44:23下载
- 积分:1