Linear algebra operations on symbolic vectors and
matrices

Linear algebra is the study of linear equations and their properties. Symbolic Math Toolbox™ provides functions to solve systems of linear equations. You can also analyze, transform, and decompose matrices using Symbolic Math Toolbox functions.

`cat` |
Concatenate symbolic arrays along specified dimension |

`colon` |
Create symbolic vectors, array subscripting, and for-loop iterators |

`horzcat` |
Concatenate symbolic arrays horizontally |

`numel` |
Number of elements of symbolic array |

`size` |
Symbolic matrix dimensions |

`sort` |
Sort elements of symbolic vectors or matrices |

`vertcat` |
Concatenate symbolic arrays vertically |

`adjoint` |
Adjoint of symbolic square matrix |

`cond` |
Condition number of matrix |

`det` |
Compute determinant of symbolic matrix |

`equationsToMatrix` |
Convert set of linear equations to matrix form |

`inv` |
Compute symbolic matrix inverse |

`linsolve` |
Solve linear system of equations given in matrix form |

`norm` |
Norm of matrix or vector |

`pinv` |
Moore-Penrose inverse (pseudoinverse) of symbolic matrix |

`rank` |
Find rank of symbolic matrix |

`rref` |
Reduced row echelon form of matrix (Gauss-Jordan elimination) |

`curl` |
Curl of vector field |

`divergence` |
Divergence of vector field |

`gradient` |
Gradient vector of scalar function |

`hessian` |
Hessian matrix of scalar function |

`jacobian` |
Jacobian matrix |

`laplacian` |
Laplacian of scalar function |

`potential` |
Potential of vector field |

`vectorPotential` |
Vector potential of vector field |

`hermiteForm` |
Hermite form of matrix |

`jordan` |
Jordan form of matrix |

`smithForm` |
Smith form of matrix |

`bernsteinMatrix` |
Bernstein matrix |

`toeplitz` |
Symbolic Toeplitz matrix |

Linear algebra with symbolic expressions and functions.

**Solve System of Linear Equations**

Solve systems of linear equations in matrix or equation form.

Perform algebraic operations on symbolic expressions and function.

Linear algebra with symbolic expressions and functions.

Singular value decomposition (SVD) of a matrix.

Find eigenvalues, characteristic polynomials, and determinants of matrices.

Convert matrix to Jordan normal form (Jordon canonical form).

Was this topic helpful?