function p = HornerDumber(a,t)
% Evaluate a polynomial using an even dumber method
% Polynomial is assumed to have the form
% a(1) + a(2)*t + a(3)*t^2 + ... + a(n+1)*t^n
% K. Ming Leung, 02/26/03

N=length(a);    % N=n+1
p = a(1);
for k=2:N
    p = p + a(k) * t^(k-1);
end
