muq08
11-18-2009, 01:18 PM
I need matlab code for this problem, this is supposed to give a graph for the chebsyshev points and one for the normally equally spaced points, any help would be great:
Observe the error of a polynomial interpolant by plotting the function E(x) = C product (x - xi), with C = 1, for
[i] {xi} nine equally spaced points in [-1; 1]
[ii] {xi} nine Chebyshev points in [-1; 1]
Observe the error of a polynomial interpolant by plotting the function E(x) = C product (x - xi), with C = 1, for
[i] {xi} nine equally spaced points in [-1; 1]
[ii] {xi} nine Chebyshev points in [-1; 1]