© Sandeep Nagar 2017

Sandeep Nagar, Introduction to MATLAB for Engineers and Scientists, https://doi.org/10.1007/978-1-4842-3189-0_8

8. Symbolic Computation

Sandeep Nagar

(1)New York, USA

8.1 Introduction

Until now, we have been dealing with numeric computation where variables store numeric values. In Chapter 7, you learned that numerical computation involves working with approximate solutions. On the other hand, an analytical solution is not an approximation since one uses symbols rather than numbers. MATLAB provides the means to perform symbolic computations, too.

8.2 Defining a Symbolic Variable

The keyword syms is used to define single or multiple symbolic variable(s). The key feature of a symbolic variable is that it just stores a symbol to perform ...

Get Introduction to MATLAB for Engineers and Scientists: Solutions for Numerical Computation and Modeling 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.