-
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
-
work
追赶法,拉格朗日插值,高斯塞德尔迭代,牛顿迭代(Catch-up method, Lagrange interpolation, high斯塞德尔iteration, Newton iteration)
- 2007-11-13 01:30:59下载
- 积分:1
-
embed
基于MATLAB环境的音频水印嵌入源程序(Environment based on MATLAB source audio watermark embedding)
- 2009-05-25 11:20:36下载
- 积分:1
-
chap10
机器人的PID控制仿真程序,先进matlab仿真第10章(PID control of robot simulation program, advanced matlab simulation Chapter 10)
- 2009-04-29 17:48:57下载
- 积分:1
-
FDTD1d
FDTD一维场的叠加显示,对初学者有很大的帮助。(Superposition of one-dimensional FDTD field shows a great help for beginners.)
- 2011-06-07 17:02:21下载
- 积分:1
-
Solution-of-the-orbit-equation
Solution of the orbit equation: Theta as function of time t.
Numerical solution of Kepler’s equation for the elliptical test problem
Matlab code
- 2013-11-01 21:26:14下载
- 积分:1
-
mani
多种降维方法的一个程序包,包括PCA,ISOMAP, LLED等,GUI,界面直观简单(A variety of dimensionality reduction method package, including PCA, ISOMAP, LLED etc., GUI, simple and intuitive interface)
- 2014-01-19 12:41:32下载
- 积分:1
-
chuizhi
说明: 攻击垂直机动目标比例导引三维弹道仿真。matlab编写(Attacks on the proportion of vertical maneuvering target-guided three-dimensional trajectory simulation. matlab prepared)
- 2008-11-07 22:50:12下载
- 积分:1
-
多载荷多工况的结构拓扑优化代码
说明: 多载荷多工况的结构拓扑优化代码,matlab实现(Structural Topology Optimization Code for Multi-load and Multi-working Conditions)
- 2018-12-28 10:08:57下载
- 积分:1
-
MUSIC
MUSIC(多重信号提取)分析与仿真,从加有噪声的观测信号中分析提取出原信号(MUSIC (multiple signal extraction) analysis and simulation, plus a noise from the observation signal analysis to extract the original signal)
- 2011-01-07 17:54:00下载
- 积分:1