1 / 21

Chapter 3 Interpolation and Polynomial Approximation

Chapter 3 Interpolation and Polynomial Approximation. 4.3 Lagrange Approximation. 1.3.1 Error Terms and Error Bounds. 1.3.2 Comparison of Accuracy and O(h N+1 ). function [C,L]=lagran(X,Y) w=length(X); n=w-1; L=zeros(w,w); for k=1:n+1 V=1; for j=1:n+1 if k~=j

bina
Download Presentation

Chapter 3 Interpolation and Polynomial Approximation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 3 Interpolation and Polynomial Approximation 4.3 Lagrange Approximation

  2. 1.3.1 Error Terms and Error Bounds

  3. 1.3.2 Comparison of Accuracy and O(hN+1)

  4. function [C,L]=lagran(X,Y) w=length(X); n=w-1; L=zeros(w,w); for k=1:n+1 V=1; for j=1:n+1 if k~=j V=conv(V,poly(X(j)))/(X(k)-X(j)); end end L(k,:)=V; end C=Y*L;

More Related