11

 

 

Numerical Computing

 

Both platforms contain facilities for performing standard numeric computations such as root-finding, function optimization, numerical integration or quadrature, numerically solving differential equations, and so on. MATLAB has a longer history of use in scientific computing, and there are a number of standard numerical analysis textbooks whose examples are all based around MATLAB [4, 7, 10, 17, 18, 19, 27]. The textbook market in this area has not yet matured for R, though reference [14] includes some material on numerical computing.

 

 

11.1 Root-finding

Given a function of one variable, f(x), one may want to find a value x satisfying f(x) = 0. Both platforms provide straightforward ways to do this.

One special ...

Get R and MATLAB 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.