Change language to:
English - Français - 日本語 - Português -

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

Scilab help >> Polynomials > invr

# invr

inversion of (rational) matrix

### Calling Sequence

`F = invr(H)`

### Arguments

H

polynomial or rational matrix

F

polynomial or rational matrix

### Description

If `H` is a polynomial or rational function matrix, `invr` computes `H^(-1)` using Leverrier's algorithm (see function code)

### Examples

```s=poly(0,'s')
H=[s,s*s+2;1-s,1+s]; invr(H)
[Num,den]=coffg(H);Num/den
H=[1/s,(s+1);1/(s+2),(s+3)/s];invr(H)```

### See Also

• glever — inverse of matrix pencil
• coffg — inverse of polynomial matrix
• inv — matrix inverse
 Report an issue << htrianr Polynomials lcmdiag >>

 Copyright (c) 2022-2023 (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:Tue Apr 02 17:37:55 CEST 2013