Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2023.1.0 - Français


chepol

Chebychev polynomials

Syntax

Tn = chepol(n, var)

Arguments

n

integer : polynomial order

var

string : polynomial variable

Tn

polynomial in the variable var

Description

Recursive implementation of Chebychev polynomial. Tn=2*poly(0,var)*chepol(n-1,var)-chepol(n-2,var) with T0=1 and T1=poly(0,var).

Examples

for i = 1:10, p = chepol(i, "x"); disp(p), end
--> for i = 1:10, p = chepol(i, "x"); disp(p), end
  x

  -1 +2x²

  -3x +4x³

  1 -8x² +8x⁴

  5x -20x³ +16x⁵

  -1 +18x² -48x⁴ +32x⁶

  -7x +56x³ -112x⁵ +64x⁷

  1 -32x² +160x⁴ -256x⁶ +128x⁸

  9x -120x³ +432x⁵ -576x⁷ +256x⁹

  -1 +50x² -400x⁴ +1120x⁶ -1280x⁸ +512x¹⁰
Report an issue
<< bezout Polynômes cmndred >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon May 22 12:39:42 CEST 2023