?? min.m
字號:
%MAX Dataset minfunction [s,I] = min(a,b,dim)if nargin == 1 [s,I] = min(a.d);elseif nargin == 2 if ~isa(a,'dataset') s = b; s.d = min(a,b.d); elseif ~isa(b,'dataset') s = a; s.d = min(a.d,b); else s = a; s.d = min(a.d,b.d); endelseif nargin == 3 if ~isempty(b) error('min with two matrices to compare and a working dimension is not supporte') end if dim == 1 [s,I] = min(a.d,[],1); elseif dim == 2 s = a; [s.d,I] = min(a.d,[],2); featlist = 'min'; else error('Dimension should be 1 or 2') endendreturn
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -