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

    function y = logisticrbf( r, m )
%XREGRBF/LOGISTICRBF  Logistic RBF kernel with zero bias
%  LOGISTICRBF(R,M) is a matrix the same size as R containing the values of 
%  the logistic RBF kernel with zero bias at the squared and weighted distances 
%  given in R.
%
%  The logistic RBF kernel with zero bias is given by phi(R) = 1/(1+exp(sqrt(R))), 
%  where R is the squared and weighted distance.

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


y = 1./(1 + exp( sqrt( r ) ) );

%------------------------------------------------------------------------------|
% EOF
%------------------------------------------------------------------------------|