-
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
-
MATLABSimulinkConference2007_Track1_LTC
MATLAB Simulink Conference 2007 cd1
- 2010-07-20 08:03:01下载
- 积分:1
-
practica-hoja-5
Escribir un programa que calcule el polinomio de interpolacion de lagrange de una funcion en unos puntos dados mediante la formula de newton,y que permite añ adir nuevos puntos de interpolacion,dibujar la funcion y el polinomio de interpolacion obtenido,hacer una version que sirva para interpolar los valores de una tabla dibujando,en este caso solo en el polinomio de interpolacion.
- 2013-11-20 11:22:07下载
- 积分:1
-
mmpolar
这个程序详细说明了怎么用极坐标画天线方向图(This procedure specifies how to use the antenna pattern in polar coordinates Videos)
- 2015-09-03 19:26:42下载
- 积分:1
-
FLC_M_readfis
非线性系统模糊逻辑控制(readfis + 实时控制)的MATLAB仿真程序,有注释(Nonlinear systems fuzzy logic control (readfis+ real-time control) MATLAB simulation program, notes)
- 2014-11-05 21:07:53下载
- 积分:1
-
A-Guide-to-MATLAB
graphic user interface using matlab
- 2014-09-29 23:27:52下载
- 积分:1
-
DHM
DHM PROGRAM which is used to calculate direct and inverse geometric model,direct and inverse kinematic model anddirect and inverse dynamic model of a serial robot with any dergee of freedem
- 2013-09-30 17:58:16下载
- 积分:1
-
BER_FOFDM
说明: 这个程序简单的介绍了OFDM的变体f-ofdm的误码率(This program simply introduces the bit error rate of the variant f-ofdm of OFDM.)
- 2019-06-17 09:44:04下载
- 积分:1
-
goat-遗传算法工具箱
遗传算法工具箱matlab(GA Matlab Toolbox)
- 2004-12-22 09:44:39下载
- 积分:1
-
matlab_advanced
MATLAB 升华MATLAB编程,深化MATLAB学习。让你对MATLAB的了解更加透彻。(MATLAB sublimation MATLAB programming, and deepen learning MATLAB. Give you a more thorough understanding of MATLAB.)
- 2009-10-15 21:59:29下载
- 积分:1