www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@localsurface/MeanPredVar.m
function [PEV,s] = MeanPredVar(m) % xreglinear/MEANPREDVAR calculates the Mean Prediction Variance over [-1 1]. % % It is called with the model that is being used % [PEV,s] = MeanPredVar(m) % PEV is mean value % s is square matrix such that PEV= trace(cov(m)*s) % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. [PEV,s] = MeanPredVar(m.userdefined);