-
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
-
ldpc_toolkit
ldpc编译码包括生成矩阵算法,稀疏矩阵编码,概率译码等等(ldpc encode and encode)
- 2014-10-23 17:07:33下载
- 积分:1
-
Simulated-annealing--particle
Simulated annealing- particle swarm optimization, the program will be simulated annealing algorithm and particle swarm optimization by combining optimization parameters have a good effect
- 2013-12-10 05:43:33下载
- 积分:1
-
GA-PID
遗传算法在线优化PID参数,能够实时控制对象(Genetic Algorithm optimization PID parameters online, real-time control object)
- 2015-12-25 11:47:20下载
- 积分:1
-
code3
matlab programs to download
- 2013-02-28 13:18:39下载
- 积分:1
-
period
说明: 序列x(n)的功率谱估计用matlab来实现(sequence x (n) of the power spectrum is estimated to achieve using Matlab)
- 2006-05-13 15:59:01下载
- 积分:1
-
zxfj_frame
分解结构振动模态,识别模态参数,将多自由度振动分解为若干单自由度振动的叠加(structural mode decomposition)
- 2020-10-17 12:27:27下载
- 积分:1
-
PCA_LDA_LPP_Tensor
PCA/LDA/LPP/TensorLPP/代码。
LPP是目前一种比较重要的子空间算法。基于Tensor的子空间算法,是传统PCA/LDA算法的进一步推广,具有重要意义。(PCA/LDA/LO/TensorLPP/code. Alignment is a more important subspace algorithm. Based on the Tensor subspace algorithm, is a traditional PCA/LDA further promote algorithm is of great significance.)
- 2007-04-09 16:18:23下载
- 积分:1
-
matlab
matlab语法大全,详细描述MATLAB具体功能matlab语法大全,详细描述MATLAB具体功能(Matlab syntax, detailing the matlab specific function grammar books, matlab detailed specific matlab functions)
- 2015-01-10 21:55:26下载
- 积分:1
-
PR_10
基于图像拉普拉斯信息的图像分割matlab代码(image segmentation code based on image laplace information )
- 2012-05-12 12:58:51下载
- 积分:1