Main Content

det

Laurent matrix determinant

    Description

    example

    d = det(A) returns the determinant of the Laurent matrix A.

    Examples

    collapse all

    Create two Laurent polynomials:

    • a(z)=6z-2

    • b(z)=z3/6

    lpA = laurentPolynomial(Coefficients=[6],MaxOrder=-2);
    lpB = laurentPolynomial(Coefficients=[1/6],MaxOrder=3);

    Create the Laurent matrix [a(z)11b(z)].

    lmat = laurentMatrix(Elements={lpA 1; 1 lpB});

    Obtain the determinant of lmat. Confirm the determinant is z-1.

    d = det(lmat)
    d = 
      laurentPolynomial with properties:
    
        Coefficients: [1 -1]
            MaxOrder: 1
    
    

    Input Arguments

    collapse all

    Laurent matrix, specified as a laurentMatrix object.

    Output Arguments

    collapse all

    Determinant of the Laurent matrix, returned as a laurentPolynomial object.

    Extended Capabilities

    C/C++ Code Generation
    Generate C and C++ code using MATLAB® Coder™.

    Version History

    Introduced in R2021b

    See Also

    Functions

    Objects