Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Linear Equations

Linear systems of equations in matrix form

MuPAD Functions

detDeterminant of a matrix
normCompute the norm of a matrix, a vector, or a polynomial
linalg::condCondition number of a matrix
linalg::matlinsolveSolving systems of linear equations
linalg::matlinsolveLUSolving the linear system given by an LU decomposition
linalg::rankRank of a matrix
linalg::toeplitzSolveSolve a linear Toeplitz system
linalg::vandermondeSolveSolve a linear Vandermonde system
numeric::detDeterminant of a matrix
numeric::inverseInverse of a matrix
numeric::rankNumerical estimate of the rank of a matrix

Examples and How To

Choose a Solver

The general solvers (solve for symbolic solutions and numeric::solve for numeric approximations) handle a wide variety of equations, inequalities, and systems.

Solve Algebraic Systems

When solving a linear system of symbolic equations, the general solver returns a set of solutions:

Invert Matrices

To find the inverse of a matrix, enter 1/A or A^(-1):

Compute Determinants and Traces of Square Matrices

MuPAD® provides the functions for performing many special operations on matrices.

Compute Rank of a Matrix

The rank of a matrix is the number of independent rows of a matrix.

Compute Determinant Numerically

To compute the determinant of a square matrix numerically, use the numeric::det function.

Concepts

Linear Algebra Library

Use only in the MuPAD Notebook Interface.

Numeric Algorithms Library

Use only in the MuPAD Notebook Interface.

Was this topic helpful?