Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - English

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> Polynomials > chepol

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 Polynomials cmndred >>

Copyright (c) 2022-2024 (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 Jan 03 14:23:25 CET 2022