-
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
-
hanshuxunyou
对一个三次函数寻找最优解(最小值),分别使用全局搜索法、二分法、黄金分割法和斐波那契法共四种方法寻优。函数可在程序中自行指定,有gui界面。(A cubic function to find the optimal solution (minimum), respectively, using a global search method, dichotomy, golden section and Fibonacci optimization method a total of four methods. Function can be specified in the program itself, there are gui interface.)
- 2010-12-12 16:09:25下载
- 积分:1
-
Matlab-program-of-the-simplex-method
单纯形法matlab程序,计算方程组(函数的个数显然大于方程个数)(Matlab program of the simplex method, the calculation equations (function number is clearly greater than the equation number))
- 2012-08-17 10:55:38下载
- 积分:1
-
时域频域29个特征提取
说明: 利用matlab提取出频域和时域信号的29个特征,主运行文件feature_extraction,fre_statistical_compute和time_statistical_compute分别提取频域和时域的特征,生成的29个特征保存在生成的feature矩阵中。(Using MATLAB to extract 29 features of frequency-domain and time-domain signals, the main running files feature extraction, frequency-domain and time-domain features are extracted respectively, and the 29 features are saved in the generated feature matrix.)
- 2020-06-29 11:40:01下载
- 积分:1
-
framesaddandsplit
matlab code for adding and splitting frame to the video
- 2009-06-15 12:05:09下载
- 积分:1
-
Canny-edge-detector-algorithm-matlab-codes
Canny edge detector algorithm matlab codes
This part gives the algorithm of Canny edge detector. The outputs are six subfigures shown in the same figure:
• Subfigure 1: The initial "lena"
• Subfigure 2: Edge detection along X-axis direction
• Subfigure 3: Edge detection along Y-axis direction
• Subfigure 4: The Norm of the image gradient
• Subfigure 5: The Norm of the gradient after thresholding
• Subfigure 6: The edges detected by thinning
- 2014-01-31 11:58:26下载
- 积分:1
-
eemd_IMF
信号的EEMD分解,计算分解后各子段的能量(The signal decompose by use EEMD,compute the energy of every subsignal)
- 2021-03-03 14:29:32下载
- 积分:1
-
机器人标定
说明: 利用非线性二次迭代法,进行机器人D-H参数误差辨识。(The nonlinear quadratic iteration method is used to identify the D-H parameter error of the robot.)
- 2020-10-15 10:27:29下载
- 积分:1
-
Target_move_10M_extract4
说明: 模拟雷达接收机过程,包括mti,mtd,cfar等(Radar receiver simulation includes MTI, MTD, CFAR and so on)
- 2021-01-20 16:02:06下载
- 积分:1
-
sfc
说明: 该源码是用MATLAB语言编写,目的是为了实现序列特征选却和RBF网络功能(The source code is used MATLAB language, intended to achieve the sequence features and the RBF network function is selected)
- 2011-02-26 11:11:25下载
- 积分:1