This topic shows you how to solve a system of equations symbolically using Symbolic Math Toolbox.
www.mathworks.com