Chapter 19

Solving Equations and Finding Roots

IN THIS CHAPTER

check Using the Symbolic Math Toolbox

check Solving algebraic problems

check Solving statistical problems

MATLAB is amazing when it comes to helping you solve equations and find roots. Of course, getting the right answer happens only when you know how to ask the right question. Communicating with MATLAB in a manner it understands is an important part of solving the questions you have. This chapter demonstrates how to solve specific kinds of equations and how to find roots. The important thing to consider as you read is how the information creates patterns that you can use to solve your specific algebraic or statistical problem.

In most cases, there are multiple ways to obtain an answer to any question. This chapter demonstrates one method for each kind of equation or root. However, you can find additional solutions online in locations such as MATLAB Answers (https://www.mathworks.com/matlabcentral/answers/). The point is that MATLAB can provide an answer as long as you have a viable means to ask the question.

Remember You don’t have to type the ...

Get MATLAB For Dummies, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.