-
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
-
meanofrecta
helpful code to claculate mean of rectangular subarrays
- 2010-09-29 18:13:46下载
- 积分:1
-
bch
bch decoder using Berlekamp-Massey and Chien search
standard bch decoder simulation
- 2020-06-28 18:00:01下载
- 积分:1
-
bvhReadFile
用于运动捕获数据的读取,所读取的数据是96维度的矩阵(Motion capture data for reading data, the read-dimensional matrix is 96)
- 2015-01-19 16:58:13下载
- 积分:1
-
Problems
Basic matlab codes r included
- 2013-12-02 15:31:02下载
- 积分:1
-
jiexiangguan_LMS_multi_input_adv1
基于LMS算法对相关加噪信号的波达角方向估计,基于32单元线阵(LMS algorithm based on noise-related signals in the direction of arrival angle estimation, based on the 32-cell linear array)
- 2009-07-10 11:28:26下载
- 积分:1
-
dtcwtPbicubic
dtcwt and bicubic based image resolution enhancement
- 2012-10-02 18:18:33下载
- 积分:1
-
yanshichengxu4
matlaB simulink 初学者演示教学代码 不太难的应用(matlaB simulink beginners demonstration teaching code is not too difficult applications)
- 2012-11-25 21:05:15下载
- 积分:1
-
CE5e
RLS algorithm for modeling AR filter using matlab
- 2013-12-21 16:19:29下载
- 积分:1
-
CS-of-the-SAR-imaging-algorithm
基于压缩感知的sar成像算法研究,里面有七个小程序包括函数。(Based on compressive sensing of the SAR imaging algorithm research, there are seven small programs, including functions.)
- 2020-11-16 20:59:41下载
- 积分:1