squenshl said:
I got c0 = -0.269628, c1 = -0.654197, c2 = -0.198127, c3 = 0.167396 and c4 = -0.0184982 for the Chebyshev polynomials
squenshl - I get a different result for the Chebyshev coefficients. After letting [itex]u = 2*x -1[/itex] (so [itex]-1 <= u <= 1[/itex]), I get:
[tex]c_0 = 0[/tex]
[tex]c_1 = -2 \cdot J_1(\pi/2) = -1.133648178...[/tex]
[tex]c_2 = 0[/tex]
[tex]c_3 = 2 \cdot J_3(\pi/2) = 0.138071777...[/tex]
[tex]c_4 = 0[/tex]
Here, [itex]J_k(\pi/2)[/itex] are the Bessel Functions of first kind, order [itex]k[/itex], evaluated at [itex]\pi/2[/itex].
The resulting Chebyshev approximation polynomial (for a fourth order approx) would be:
[tex]f(T(u)) = c_1 \cdot T_1(u) + c_3 \cdot T_3(u)[/tex]
The coefficients for the polynomial in
u would then be:
[tex]b_1 = c_1-3 \cdot c_3 = -1.547863508...[/tex]
[tex]b_3 = 4 \cdot c_3 = 0.552287106...[/tex]
and the coefficients for the polynomial in
x would then be:
[tex]a_0 = -(b_3 + b_1) = 0.995576401...[/tex]
[tex]a_1 = 6 \cdot b_3 + 2 \cdot b_1 = 0.217995623...[/tex]
[tex]a_2 = -12 \cdot b_3 = -6.627445276...[/tex]
[tex]a_3 = 8 \cdot b_3 = 4.418296851...[/tex]
[tex]a_4 = 0[/tex]
To have a fourth term in the polynomial of x, we would require another term (T5) in the Chebyshev expansion, which would also introduc a quintic x term.
I can provide more on this later.