www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbcmodel/@hierarchicalresponse/PEV.m

    function y= PEV(R,X)
%PEV    Calculate the Predicted Error Variance at specified input.
% 
%   P = PEV( RESPONSE, X) 
%
% See also mbcmodel.hierarchicalresponse.PredictedValue

%   Copyright 2004-2007 The MathWorks, Inc.

if hasBest(R.Object)
    % get  model
    M = model(R.Object);
    y= pev(M,X);
else
    error(message('mbc:mbcmodel:hierarchicalresponse:InvalidState1'));
end