-
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
-
pulse_train
generation of a pulse train
- 2009-05-16 06:21:44下载
- 积分:1
-
FaceRecognition
Face Recognition based on PLE dataset from CMU(Using Eigenfaces and Template matching)
- 2010-12-04 13:42:13下载
- 积分:1
-
Embedding-and-extracting
embedding and extraction by DCT
- 2013-10-03 02:45:30下载
- 积分:1
-
guitips
This will give you some tips on how to build a gui using matlab, PDF file
- 2008-03-05 23:52:27下载
- 积分:1
-
Laser
仿真激光的产生和传播 很管用的 不信你试试(aghfghfh)
- 2009-10-25 22:42:53下载
- 积分:1
-
mom_2052
MoM programme for designing patch antenna
- 2012-07-04 18:33:54下载
- 积分:1
-
DES
DES密码基于matlab的简单实现,包括算法详解及其相关说明。(Data encryption standard implemented in matlab)
- 2014-10-29 11:26:43下载
- 积分:1
-
four-danymic-matlab
汽车四自由度力阶跃输入反应的仿真程序
通过该程序可以很好地实现仿真效果(Car four degrees of freedom force step input response of the simulation program
The program can achieve simulation results)
- 2012-04-01 10:52:13下载
- 积分:1
-
pplane8
说明: matlab中画非线性系统的各种分支图,可以进行各种非线性分支分析(Draw a branch diagram)
- 2021-04-26 17:28:45下载
- 积分:1