Graphics Reference
In-Depth Information
Figure 1-19.
1.4 Numerical Calculations with MATLAB
You can use MATLAB as a powerful numerical calculator. Most calculators handle numbers only with a preset degree
of precision, however MATLAB performs exact calculations with necessary precision. In addition, unlike calculators,
we can perform operations not only with individual numbers, but also with objects such as arrays.
Most of the themes of the classical numerical calculations, are treated in this software. It supports matrix
calculations, statistics, interpolation, fit by least squares, numerical integration, minimization of functions, linear
programming, numerical algebraic and resolution of differential equations and a long list of processes of numerical
analysis that we'll see later in this topic.
Here are some examples of numerical calculations with MATLAB. (As we all know, for results it is necessary to
press Enter once you have written the corresponding expressions next to the prompt “>>”)
We can simply calculate 4 + 3 and get as a result 7. To do this, just type 4 + 3, and then Enter.
>> 4 + 3
Ans =
7
 
Search WWH ::




Custom Search