-
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
-
ELD
和声搜索算法求解电力系统经济调度优化问题(Harmony search algorithm solve power system ecolomic dispatch optimization problem)
- 2020-12-21 09:09:08下载
- 积分:1
-
bisection-method
基于matlab的非线性方程二分法迭代求解(GUI)(bisection method)
- 2015-03-07 10:31:40下载
- 积分:1
-
feimai_v80
有均匀线阵的CRB曲线,MIT人工智能实验室的目标识别的源码,ML法能够很好的估计信号的信噪比。( There ULA CRB curve, MIT Artificial Intelligence Laboratory identification of the target source, ML estimation method can be a good signal to noise ratio.)
- 2016-05-19 12:12:30下载
- 积分:1
-
MOPSO多目标粒子群优化算法MATLAB实现.rar
说明: MOPSO多目标粒子群优化算法MATLAB实现(Implementation of MOPSO multi-objective particle swarm optimization algorithm in MATLAB)
- 2020-03-02 16:30:39下载
- 积分:1
-
ninecolor_distri_128_q
基于内容的图像检索matlab小程序,使用图像的9种主要颜色为检索特征。(content-based image retrieval Matlab small, the use of images of the nine main colors for the retrieval features.)
- 2006-12-05 18:24:42下载
- 积分:1
-
common
some useful definitions in project designs
- 2013-12-06 14:10:55下载
- 积分:1
-
attachments_2011_04_26
时频分析相关资料 及相关函数 怎样调用 很全面(Time-frequency analysis of how information and related function call is very comprehensive)
- 2011-07-23 08:46:56下载
- 积分:1
-
MATLAB-M.document
matlab开发环境下的经典算法程序,适合初学者.(Matlab development environment under the classical algorithm procedures for beginners.)
- 2007-06-26 08:15:29下载
- 积分:1
-
VEHICLE-SPEED
VEHICLE SPEED AND SPACING CONTROL VIA COORDINATED
THROTTLE AND BRAKE ACTUATION
- 2013-10-01 04:05:41下载
- 积分:1