Mercurial > hg > ddm
view poly_mat.m @ 4:72c011ed1977 tip
more elaborate example with non-stat. estimate explanation
author | smusevic |
---|---|
date | Tue, 30 Jul 2013 09:56:27 +0100 |
parents | 462de60d7e94 |
children |
line wrap: on
line source
function t_mat = poly_mat(tt, dgr, N) t_mat = ones(dgr,N); if dgr > 1 t_mat(2,:) = tt; for k=3:dgr t_mat(k,:) = t_mat(k-1,:) .* tt; end end