-
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
-
capacitorer
measure the capacitance of parallel plate capacitor
- 2012-01-30 16:57:19下载
- 积分:1
-
2if.for.while.switch
tutorial matlab codes for university students(if while switch)
- 2014-07-20 10:40:11下载
- 积分:1
-
sensorless
关于永磁同步电机DTC系统的无速度传感器,效果还可以(On permanent magnet synchronous motor DTC system without a speed sensor, the effect can also be)
- 2009-05-13 18:53:28下载
- 积分:1
-
Digital-image-processing
图像处理源代码 matlab 各种经典算法
- 2013-07-10 20:02:40下载
- 积分:1
-
2-1-3matlab
matlab仿真通过的2 1 3卷积编译码(213 convolutional encoding and decoding matlab simulation by)
- 2012-08-14 11:13:48下载
- 积分:1
-
qudongli
驱动力和制动力是车辆纵向力学特性中重要部分,本程序采用matlab,根据发动机的万有特性曲线和循环工况,绘制出车辆的驱动力和制动力随时间的关系(The driving force and braking force is an important part of the vehicle longitudinal mechanical properties, the program uses matlab, according to the universal characteristic curve of the engine and the driving cycle, to map out the driving force and braking force of the vehicle over time)
- 2013-05-07 13:41:58下载
- 积分:1
-
anypoint-lcking
MZM modulator Bias control two tones technique
- 2012-09-09 03:43:25下载
- 积分:1
-
coil
simulink model for a energized coil
- 2011-11-14 20:16:29下载
- 积分:1
-
PMSM
Matlab simulation of PMSM with SPWM modulation. This is an example that use every single element of simulink library, so it can help you understand details of PMSM simulation.
This simulation module was built by my own, any questions, pleases contact me.
- 2014-12-16 16:55:44下载
- 积分:1