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

    function str = char( m, ~ )
%CHAR   Convert XREGINTERPRBF object to character array .
%    CHAR(M) is a string that describes the XREGINTERPRBF object M.

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


poly_terms = Terms( get( m, 'linearmodpart' ) );
if isempty( find( poly_terms, 1 ) ),
    str = char( 'Interpolating RBF (with no polynomial) that is', ...
        char( get( m, 'rbfpart' ) ) );
else
    str = char( 'Interpolating RBF that is', char(m.xreghybridrbf) );
end

% EOF