Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - 日本語 -
Справка Scilab >> Polynomials > derivat

derivat

derivative of polynomials or of rationals

Syntax

pd = derivat(p)

Arguments

p, pd

arrays of polynomials or of rationals

Description

The derivat() function works with expressions like p(z) = \sum \limits_{i = -\infty}^{\infty} A_{i} z^{i} which consists of functions of linear combinations with integer exponents of one variable (in the example denoted by z).

The function derivat() implements the analytical derivation of p(z), giving the following result. \dfrac{d(p(z))}{d z} = \sum \limits_{i = -\infty}^{\infty} i A_{i} z^{i - 1}

Examples

s = poly(0,'s');
derivat(1/s)  // -1/s^2;
p1 = poly([1 -2 1], 'x', 'coeff')
derivat(p1)
p2 = poly([1 -4 2], 'y', 'coeff')
derivat(p2)
p3 = poly(ones(1, 10), 'z', 'coeff')
derivat(p3)
p4 = poly([-1 1], 't', 'roots')
derivat(p4)
s = %s; p5 = s^(-1) + 2 + 3*s
derivat(p5)

See also

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jan 03 14:39:55 CET 2022