-
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
-
w2
说明: matlab写的一个模拟人运动的程序,有15个控制点,5个运动形态(matlab write a simulation program of the movement, there are 15 control points, five movement patterns)
- 2012-06-08 08:52:29下载
- 积分:1
-
Example36.m
非常有用的matlab图像处理资源,适合于广大初学者(very useful Matlab image processing resources suitable for the vast majority of beginners)
- 2007-06-12 10:51:57下载
- 积分:1
-
kerrd
calculation of Kerr Nonlinearity of nonlinear optical crystal.it is a 3rd order nonlinear process.
- 2011-02-03 16:34:08下载
- 积分:1
-
cp0602_symbol_error_probabili
主要是用于脉冲位置调制当中性能的仿真产生(Is mainly used for pulse position modulation performance simulation which generated)
- 2008-03-15 11:00:03下载
- 积分:1
-
branch_algorithm
利用分支定届算法实现线性混合整数规划模型的求解(MATLAB代码)( using branch algorithm to solve the mixed integer linear programming model (MATLAB code))
- 2009-04-28 09:47:39下载
- 积分:1
-
TrackRoute
用路径跟踪法求解不等式约束的凸二次规划,即沿着此路径(或邻域)可以逼近问题的最优解。(With the path tracking method for solving inequality constrained convex quadratic programming, that along this path (or neighborhood) can approximate the optimal solution of the problem.)
- 2013-11-23 14:31:30下载
- 积分:1
-
D算法
说明: 一种路径规划算法,算法的主要功能是实现无人机的路径规划功能(A path planning algorithm. The main function of the algorithm is to realize the path planning function of UAV.)
- 2020-06-19 07:20:02下载
- 积分:1
-
power_sixpulses
power_sixpulses.rar,功率电子领域matlab仿真文件,已经验证过,程序运行正常(power_sixpulses.rar,Power electronics field matlab simulation file, has already been
verified, the normal operating procedures)
- 2013-07-14 12:36:25下载
- 积分:1
-
suijishuchensheng
产生了十种随机数字,一起学习,多多指教拉(produced dozens of random digits, learning together and exhibitions Rafah)
- 2007-05-22 20:57:20下载
- 积分:1