www.pudn.com > GP.rar > meanZero.m, change:2015-02-26,size:387b


function A = meanZero(hyp, x, i)

% Zero mean function. The mean function does not have any parameters.
%
% m(x) = 0
%
% Copyright (c) by Carl Edward Rasmussen and Hannes Nickisch, 2010-01-10.
%
% See also MEANFUNCTIONS.M.

if nargin<2, A = '0'; return; end             % report number of hyperparameters 
A = zeros(size(x,1),1);                                    % derivative and mean