Main Content

Invert 3x3 Matrix

Compute inverse of 3-by-3 matrix

  • Library:
  • Aerospace Blockset / Utilities / Math Operations

  • Invert 3x3 Matrix block

Description

The Invert 3x3 Matrix block computes the inverse of 3-by-3 matrix.

If det(A) = 0, an error occurs and the simulation stops.

Ports

Input

expand all

Input matrix to be inverted, specified as a 3-by-3 matrix.

Data Types: double

Output

expand all

Matrix inverse of input matrix, returned as a 3-by-3 matrix.

Data Types: double

Extended Capabilities

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

Introduced before R2006a