-
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
-
rs
说明: 基于建筑抗震设计规范的反应谱(地震影响系数曲线)(Response Spectrum based on anti-seismic code for buildings)
- 2010-06-13 21:35:53下载
- 积分:1
-
fuhaoyunsuan
说明: MATLAB中的符号运算,可以帮助你了解符号的具体算法(GOOD)
- 2010-04-15 09:14:21下载
- 积分:1
-
bcc
Bacterial Colony Chemotaxis. This algorithm is a simple example of bcc algorithm used to search the maximum point of a function.
- 2013-11-24 01:44:13下载
- 积分:1
-
fdtddhfd
时域有限差分方法 1维 输出振幅和相位
犹他州大学程序(fdtd method 1D output amplitude and phase
www.ece.utah.edu)
- 2012-11-20 08:21:37下载
- 积分:1
-
Geometrical-Nonlinear-FEM-Solver
Geometrical nonlinear finite element solver
- 2015-04-19 14:03:16下载
- 积分:1
-
Wavlet
morlet小波分析~使用matlab实现及其案例,,,,共享(Morlet wavelet analysis using matlab implementation and case, sharing)
- 2018-10-13 12:37:50下载
- 积分:1
-
VCMATLAB
VC实现对MATLAB的调用,对于研究二者混合编程的人比较有用(VC++ implementation of the MATLAB call for the mixture of the two studies were more useful for programming)
- 2009-12-05 19:56:14下载
- 积分:1
-
backtoforward-done
根据流量特性中临界和非临界来计算对应于不同情况下的流量值以及相对应的压力(According to the flow characteristics to calculate the critical and non-critical cases corresponding to different flow values and the corresponding pressure)
- 2011-10-21 20:02:54下载
- 积分:1
-
throughwall
这是使用射线跟踪法求解墙体造成误差的程序,分别有穿单面墙,平行双墙,垂直双墙的情况(This is to use ray-tracing procedure for solving the error caused by the wall, respectively, through a single wall, parallel to the double wall, vertical double-wall case)
- 2010-09-02 13:21:51下载
- 积分:1