This preview shows page 1. Sign up to view the full content.
Unformatted text preview: deg=floor(n/2); t=zeros(size(x)); t= t+ b(deg+1)*0.5; c=exp(i*x); % t is a polynomial in c of degree deg --- use Horner's rule to evaluate for k=deg:-1:2 t=t.*c+b(k); end t=(b(1) + t.*c*2)/n;...
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