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 - 日本語

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

Scilab help >> Scilab > inv_coeff

# inv_coeff

build a polynomial matrix from its coefficients

### Calling Sequence

`[P]=inv_coeff(C,[,d,[name])`

### Arguments

C

big matrix of the coefficients

d

Polynomial matrix degree. optional parameter with default value `d=-1+size(C,'c')/size(C,'r')`

name

string giving the polynomial variable name (default value `'x'`).

### Description

`P=inv_coeff(Mp,k)`, when `k` is compatible with `Mp` size, returns a polynomial matrix of degree k. `C=[C0,C1,...,Ck]` and `P= C0 + C1*x +... +Ck*x^k`.

### Examples

```A=int(10*rand(2,6))
// Building a degree 1 polynomial matrix
P=inv_coeff(A,1)
norm(coeff(P)-A)
// Using default value for degree
P1=inv_coeff(A)
norm(coeff(P1)-A)```

### See Also

• poly — polynomial definition
• degree — degree of polynomial matrix
• coeff — coefficients of matrix polynomial

### Comments

Add a comment:
Please login to comment this page.

 << intppty Scilab iserror >>

 Scilab EnterprisesCopyright (c) 2011-2017 (Scilab Enterprises)Copyright (c) 1989-2012 (INRIA)Copyright (c) 1989-2007 (ENPC)with contributors Last updated:Thu May 12 11:44:07 CEST 2011