

You can generate MATLAB functions, Simulink ® function blocks, and Simscape™ equations directly from symbolic expressions. You can share your symbolic work with other MATLAB users as live scripts or convert them to HTML, Word, LaTex, or PDF documents. Your computations can be performed either analytically or using variable-precision arithmetic, with the results displayed in mathematical typeset. You can perform dimensional computations and convert between units. Symbolic Math Toolbox lets you analytically perform differentiation, integration, simplification, transforms, and equation solving. Consider the following linear ordinary differential equation (1) where is the variable we want to solve for,, , and are constants, and is the specified function of time. Furthermore, we explain how to plot a graph of the derived analytical solution.

The toolbox provides functions in common mathematical areas such as calculus, linear algebra, algebraic and differential equations, equation simplification, and equation manipulation. In this lecture, we explain how to solve differential equations analytically using MATLAB Symbolic Math Toolbox. In the MATLAB ® Live Editor, you can get next-step suggestions for symbolic workflows. You can create, run, and share symbolic math code. Symbolic Math Toolbox™ provides functions for solving, plotting, and manipulating symbolic math equations.
