June 2019
Beginner
553 pages
17h 41m
English
In addition to doing numeric computations, it is possible to do symbolic calculations with MATLAB’s symbolic toolbox. The symbolic toolbox allows us to manipulate symbolic expressions. It can be used to solve equations, differentiate and integrate functions, and perform symbolic matrix operations.
MATLAB’s sym command can be used to turn any MATLAB data structure into a symbolic object. For example, the command sym(‘t’) will turn the string ‘t’ into a symbolic variable t, and the command sym(hilb(3)) will produce the symbolic version of the Hilbert matrix written in the form
We can create a number of symbolic variables at once with the syms command. For example, the command
creates ...
Read now
Unlock full access