Mercurial > hg > ddm
view poly_mat.m @ 1:462de60d7e94
missing files
author | Saso Musevic musevic@gmail.com |
---|---|
date | Thu, 25 Jul 2013 10:40:55 +0100 |
parents | |
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