Practical 7
Solving Equations
The Symbolic Toolbox can be used to find solutions for single or simultaneous equations using the solve command.
Solving a Single Equation
The first task is to solve a single equation for the variable , with the result stored in the variable a. This can be done with command solve.
a = solve(f,x)