www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@localsurface/hat.m
function h=hat(m) %xreglinear/HAT Hat matrix % h=hat(m) returns the hat matrix for the model m. m must % have its store initialised with Q using initstore. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. h=hat(m.userdefined);