subvector.m
来自「这是用matlab编写的支持向量机的函数工具箱」· M 代码 · 共 18 行
M
18 行
function ret = subvector ( t , o ) # o specifies the columns that were omit. if ((nargin != 2)) usage ("subvector(t,o)"); endifs = size(t) ; h = s(2) ; v=[];newl=0;for l=1:h if ( !o(l) ) newl++; v(newl) = t(l) ; endif endforret = v ;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?