📄 joinvector.m
字号:
function ret = joinvector ( t , tt , o ) # o specifies the columns that were omit. If o=1 we pick `t', if 0, `tt'.# joinvector makes a new vector by combining t and tt if ((nargin != 3)) usage ("joinvector(t,tt,o)"); endifs = size(t) ; h = s(2) ; ss = size(tt) ; hh = ss(2) ; l=0; ll=0;for newl=1:(h+hh) if ( o(newl) ) l++; v(newl) = t(l) ; else ll++; v(newl) = tt(ll) ; endif endforret = v ;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -