-
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
-
MonteCarlosimulation
几何布朗运动的Monte Carlo模拟以及美式期权定价(Geometric Brownian motion of the Monte Carlo simulation as well as the American option pricing)
- 2007-11-07 11:46:27下载
- 积分:1
-
work
利用matlab软件获得彩色图像的特征值以及生成72维一维向量(Matlab software using color images, as well as the characteristic values to generate one-dimensional 72-dimensional vector)
- 2009-06-06 14:06:29下载
- 积分:1
-
boat
说明: 用MATLAB求解智力游戏商人过河问题,即m个商人和m个随从过河,船的容量为k,求解在保证河的任一岸商人数大于随从数的过河方案。(Puzzle Solving with MATLAB merchants across the river, namely, m-business and m-followers across the river, the ship has a capacity of k, to solve any one of the ensure that the river shore by the number of followers across the river is greater than the number of programs.)
- 2009-09-01 17:00:37下载
- 积分:1
-
sfuntmpl_basic.c-matlab
sfuntmpl_basic.c-这是matlab提供的c mex s函数模板(sfuntmpl_basic.c-This is a matlab function to provide a template of c mex s)
- 2011-06-27 10:27:23下载
- 积分:1
-
example-a-function-for-chap2
数字图像处理第二版(matlab版)第二章课本源代码(Digital Image Processing, second edition (Matlab version) second chapter of the textbook source code)
- 2012-10-30 20:10:34下载
- 积分:1
-
ica
对盲源分离中独立成分分析法的实现,包括去均值,白化,和牛顿迭代法进行的ICA分析。(The implementation of independent component analysis in blind source separation includes ICA analysis of mean value, whitening and Newton iteration.)
- 2018-07-27 09:53:44下载
- 积分:1
-
rd_data2_wind
Read martix data of any dimension
- 2010-10-12 16:01:53下载
- 积分:1
-
guangpu
主成分分析法,主要用在光谱处理上的,包括可见和近红外光谱,对于其他的一些统计学数据也比较适用,包括原数据和处理后的数据(Principal component analysis (pca), mainly used on spectrum processing, including visible and near infrared spectrum, and is also applicable for other statistical data)
- 2015-10-27 20:02:13下载
- 积分:1
-
6077589Time-Frequence
基于时频分析的盲分离。用于处理非平稳信号。里面包含数据文件。(Blind source separation based on the time-frequency analysis. For handling non-stationary signals. Which contains the data files.)
- 2012-05-31 11:01:20下载
- 积分:1