⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unsubmatrix.m

📁 这是用matlab编写的支持向量机的函数工具箱
💻 M
字号:
function ret = unsubmatrix ( A , o ) # o specifies the columns that were omit.# unsubmatrix puts them back, set to zero. if ((nargin != 2))    usage ("unsubmatrix(A,o)");  endifs = size(A) ; subheight = s(1) ; subwidth = s(2) ; s = size( o ) ; height = s(2) ; width = height ;newl=0;C=zeros(height,width) ;for l=1:height	if ( !o(l) ) 		newl++;		newm=0;		for m =1:width			if ( !o(m) ) 				newm++;				C(l,m)=A(newl,newm);			endif		endfor	endif		endforret = C ;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -