This preview shows page 1. Sign up to view the full content.
Unformatted text preview: % output % t the value of the trigonometric polynomial n=length(b); deg=n-1; t=zeros(size(x)); t= t+ b(deg+1); c=exp(i*x); % t is a polynomial in c of degree deg --- use Horner's rule to evaluate for k=deg:-1:1 t=t.*c+b(k); end;...
View Full Document
This note was uploaded on 09/19/2009 for the course MATH numerical taught by Professor Ford during the Spring '09 term at FAU.
- Spring '09