Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - Русский - 日本語
Scilab Help >> Scilab > Variables > Predefined variables > %s

%s

A variable used to define polynomials.

Syntax

%s

Description

%s is the polynomial in the real cases by default, s = poly(0, "s"). This variable is used to create polynomials.

Example

p = %s^2 + 2 * %s +1
roots(p)
coeff(p)

s = poly(0, "s");
p1 = s^2 + 2*s +1
roots(p1)
coeff(p1)

See Also

  • poly — polynomial definition
  • coeff — coefficients of matrix polynomial
  • roots — roots of polynomials
Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:27:30 CEST 2016