www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@localsurface/size.m

    function s=size(u,dim);
%SIZE

%  Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc.



s= [sum(linterms(u)) 1];
if nargin==2
   s= s(dim);
end