Question: 3.2. The degree-n Chebyshev polynomial is defined by T(x) = cos [n cos(x)], 1x1. These satisfy To(x) = 1, T(x) = x, and the

3.2. The degree-n Chebyshev polynomial is defined by T(x) = cos [n cos(x)], 1x1. These satisfy To(x) = 1, T(x) = x, and the recursion relation In+1(x) = 2x Tn (x) - Tn-1(x), n1. Write a function chebeval (x, N) that evaluates all of the Chebyshev polynomials of degree less than or equal to N at all of the points in column vector x. The result should be an array of size length (x) by N+1.
Step by Step Solution
3.44 Rating (151 Votes )
There are 3 Steps involved in it
To solve this problem we need to implement the chebevalx N function that evaluates all Chebyshev polynomials of degree less than or equal to N for eac... View full answer
Get step-by-step solutions from verified subject matter experts
