The Symbolic Math Toolbox is a toolbox for MATLAB that adds extra functionality in mathematics for analysis, visualisation, and manipulation. The core addition is support for symbolic variables, which can be declared with syms x, y, z.

Quick links:

Basics

To solve any given function, we can do:

syms t;
eqn = t^2 + 3 * t + 4;
solve(eqn == 0, t)

which declares some symbolic variable, an equation in terms of that variable, and solves it for when the function is equal to 0 with respect to t.

Other functionality