-
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
-
DEITELCHowtoProgram(5thEdition)
C How to Program by Dietel in 5th Edition. (EBOOK)
- 2010-11-11 14:03:45下载
- 积分:1
-
ups
用MATLAB仿真的UPS仿真,大家看看有没有用!(UPS simulation using MATLAB simulation, we see no use!)
- 2011-09-18 21:40:48下载
- 积分:1
-
2ddp_node
2ddp dynamic mesh for fluent udf
- 2013-12-12 15:26:08下载
- 积分:1
-
net
Face Detection System training function
- 2011-12-14 10:50:39下载
- 积分:1
-
bamutianxian
矩量法分析八木天线,推导矩量法分析过程,分析电流分布,方向图(Moment method analysis of Yagi antenna, moment method analysis of the process is derived to analyze the current distribution pattern)
- 2020-11-30 12:59:27下载
- 积分:1
-
643853_Algorithms_Chapter-1
this is matlab program
- 2012-09-03 13:26:23下载
- 积分:1
-
mfcc_simple
this is reference source for mfcc
- 2012-11-21 16:05:10下载
- 积分:1
-
MATLAB-7.0-basic-course
系统介绍了MATLAB7.0的基本功能,并设计了丰富的实例(MATLAB7.0 system introduced the basic functions and design a wealth of examples)
- 2013-09-10 12:47:51下载
- 积分:1
-
lpcseg
车牌识别程序,MATLAB,源代码,M文件(MATLAB)
- 2010-01-10 15:25:32下载
- 积分:1