-
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
-
lmax
find the local maximum of the data, and filter high frequency signal.
- 2012-07-09 20:19:22下载
- 积分:1
-
very-simple-volume-rendering_puc
Very Simple Volume Rendering
- 2014-11-24 17:52:41下载
- 积分:1
-
pb
说明: phone book for add or remove telephone numbers in text file
- 2014-01-12 19:01:34下载
- 积分:1
-
longbeige
龙贝格积分,MATLAB程序,计算方法作业,内有说明(Romberg integration, MATLAB procedures, calculation methods work, there are instructions)
- 2015-03-26 14:12:50下载
- 积分:1
-
tex
this is texture classification
- 2009-03-11 18:58:12下载
- 积分:1
-
Gauss_Elimination
Gauss Elimination (normal way, or using vector storage). Data in file TP2 (or TP02), which is the file to be run
- 2011-06-03 04:13:52下载
- 积分:1
-
Rossler
基于matlab的源程序,用于绘制Rosslor方程的相图以及庞加莱截面(Based on matlab source program,used to draw phase diagram, poincare section of Rosslor equation )
- 2014-11-16 10:21:37下载
- 积分:1
-
采用总变分法(TV)进行图像修复的matlab源代码
采用总变分法(TV)进行图像修复的matlab源代码。包括热扩散修复和多尺度方法。(Using variational method (TV) for image restoration matlab source code. Repair and multi-scale methods include thermal diffusion.)
- 2014-03-28 11:08:07下载
- 积分:1
-
qbzxqfey
matlab小波分析程序,gmcalab 快速广义的形态分量分析,大学数值分析算法,解耦,恢复原信号,光纤陀螺输出误差的allan方差分析。( matlab wavelet analysis program, gmcalab fast generalized form component analysis, University of numerical analysis algorithms, Decoupling, restore the original signal, allan FOG output error variance analysis.)
- 2016-03-23 23:49:17下载
- 积分:1