Hi all. I am trying to evaluate high-degree Chebyshev polynomials of the first kind. It is well known that for each Chebyshev polynomial [itex]T_n[/itex], if [tex]-1\le x\le1[/tex] then(adsbygoogle = window.adsbygoogle || []).push({});

[tex]-1\le T_n(x)\le 1[/tex]

However, when I try to evaluate a Chebyshev polynomial of a high degree, such as [itex]T_{60}[/itex], MATLAB gives results that do not stay within these bounds. I assume this is due to a lack of precision. Any suggestions?

As an example, try

where ChebyshevPoly() comes from mathworks.com.Code (Text):>> x = 0.9;

>> p60 = ChebyshevPoly(60);

>> polyval(p60,x)

ans =

-1.4447e+04

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Evaluating high-degree polynomials

Loading...

Similar Threads - Evaluating high degree | Date |
---|---|

Mathematica Errors when plotting but not when evaluating | Mar 13, 2018 |

[Mathematica] : Mathlink/Evaluation of a function using NMinValue/NMin | Jun 30, 2014 |

Evaluating a derivative at a point in Mathematica | May 11, 2014 |

Mathematica: f[a,b,c] = a*g[b,c], force evaluate | Mar 14, 2014 |

Mathematica: Trouble accurately integrating highly-nonlinear DE | Aug 16, 2013 |

**Physics Forums - The Fusion of Science and Community**