-
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
-
fig5_MSOM
The sourcecode of Universally-Convergent Squared-Operator Iteration Methods for fig5 using MSOM
- 2013-12-03 20:55:09下载
- 积分:1
-
normalize
对混沌时间学列但不预测及多步预测的输入信号信号归一化处理(Studies of chaotic time series prediction and multi-step, but not predictable input signal signal normalized)
- 2010-09-09 09:26:30下载
- 积分:1
-
OFDMAWGN_fft_MPSK
ofdm fft in fading channel
- 2011-06-22 00:16:13下载
- 积分:1
-
hlc
电能质量检测模块,能检测谐波、频率,以及电压暂升或暂降(Power quality detection module detects harmonics, frequency, and voltage dips temporarily rise or)
- 2021-01-07 14:48:52下载
- 积分:1
-
PSO
MATLAB Code for Particle Swarm Optimization Algorithm to optimized unconstrained Optimization Problem
- 2013-12-20 18:56:29下载
- 积分:1
-
thesis2
a PF thesis that implemented on human tracking .
in this thesis , auther compare the PF and kalman filtering,
- 2009-07-20 23:48:59下载
- 积分:1
-
l1_ls_matlab
L1范数最小二乘算法matlab代码,可用于图像重建的研究,可修改性强.(L1 norm least square algorithm matlab code)
- 2012-05-09 16:53:17下载
- 积分:1
-
exm09321_1
对matlab初学者很有帮助,尤其是simulink的爱好者。(helpful to beginners Matlab, Simulink is particularly fond.)
- 2007-05-08 16:12:59下载
- 积分:1
-
plot2cad
一段Matlab代码,能够实现Matlab绘制的波形在AutoCAD下绘制出来(A Matlab code, Matlab drawn waveform drawing in AutoCAD)
- 2013-04-22 22:13:13下载
- 积分:1