Mercurial > repos > vipints > rdiff
diff rDiff/src/locfit/m/fitted.m @ 0:0f80a5141704
version 0.3 uploaded
author | vipints |
---|---|
date | Thu, 14 Feb 2013 23:38:36 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rDiff/src/locfit/m/fitted.m Thu Feb 14 23:38:36 2013 -0500 @@ -0,0 +1,13 @@ +function y = fitted(fit) + +% Fitted values from a locfit object. +% +% Input arguments: +% fit - the locfit() fit. +% +% Author: Catherine Loader. + +z = predict(fit,'d','restyp','fit'); +y = backtr(z,fit); + +return;