Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - Русский

Change language to:
English - 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 >> Polynomials > coeff

coeff

polynomial coefficients

Syntax

C = coeff(Mp)
C = coeff(Mp, degrees)

Arguments

Mp

Matrix of polynomials.

degrees

vector (row or column) of selected degrees (positive integers).

C

big matrix of the coefficients

Description

C=coeff(Mp) returns in a big matrix C the coefficients of the polynomial matrix Mp . C is partitioned as C=[C0,C1,...,Ck] where the Ci are arranged in increasing order k = max(degree(Mp))

C=coeff(Mp,degrees) returns the matrix of coefficients with degree in degrees.

Examples

s = %s;
w = s*rand(10,10);
determ(w)
coeff(w,1)

r = poly([0 -1+%i -1-%i],'s',"roots");
coeff(r)

r = poly([-1-%i -1+2*%i 0],'s',"roots");
coeff(r)

See also

  • poly — Определение полинома через указанные корни или коэффициенты или определение характеристического полинома квадратной матрицы.
  • degree — degree of polynomial matrix
  • inv_coeff — построение матрицы полиномов по их коэффициентам
Report an issue
<< cmndred Polynomials coffg >>

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:39:55 CET 2022