Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - English

Change language to:
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 Help >> Polynomials > determ

determ

determinant of a matrix of polynomials

Syntax

res = determ(W)
res = determ(W, k)

Arguments

W

square matrix of real or complex polynomials

k

integer (upper bound for the degree of the determinant of W)

Description

returns the determinant of a matrix of polynomials.

res=determ(W [,k]) where k is an integer larger than the actual degree of the determinant of W.

The default value of k is the smallest power of 2 which is larger than n*max(degree(W)).

Method (Only if W size is greater than 2*2) : evaluate the determinant of W for the Fourier frequencies and apply inverse FFT to the coefficients of the determinant.

Examples

s = %s;
P = [5+3*s, 1-5*s, -4+6*s ; -3+5*s, -3*s, -9 ; 8*s, -6-2*s, 4-6*s]
determ(P)
--> P = [5+3*s, 1-5*s, -4+6*s ; -3+5*s, -3*s, -9 ; 8*s, -6-2*s, 4-6*s]
 P  =
  5 +3s   1 -5s   -4 +6s

  -3 +5s  -3s     -9

  8s      -6 -2s  4 -6s

--> determ(P)
 ans  =
  -330 -278s +380s² -12s³

See also

  • det — determinant of a square matrix
  • detr — determinant of a matrix of rationals
  • coffg — Co-factors of a matrix of polynomials or rationals
Report an issue
<< derivat Polynomials detr >>

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:23:25 CET 2022