ABSTRACT

The First Book to Explain How a User of R or MATLAB Can Benefit from the Other

In today’s increasingly interdisciplinary world, R and MATLAB® users from different backgrounds must often work together and share code. R and MATLAB® is designed for users who already know R or MATLAB and now need to learn the other platform. The book makes the transition from one platform to the other as quick and painless as possible.

Enables R and MATLAB Users to Easily Collaborate and Share Code

The author covers essential tasks, such as working with matrices and vectors, writing functions and other programming concepts, graphics, numerical computing, and file input/output. He highlights important differences between the two platforms and explores common mistakes that are easy to make when transitioning from one platform to the other.

chapter 1|8 pages

Installing and Running R and MATLAB

chapter 3|22 pages

Matrices and Vectors

chapter 4|14 pages

Matrix/Vector Calculations and Functions

chapter 5|10 pages

Lists and Cell Arrays

chapter 6|12 pages

Flow Control

chapter 7|6 pages

Running Code from Files: Scripts

chapter 8|16 pages

Writing Your Own Functions

chapter 9|8 pages

Probability and Random Numbers

chapter 10|30 pages

Graphics

chapter 11|10 pages

Numerical Computing

chapter 12|18 pages

File Input and Output

chapter 13|12 pages

Miscellaneous

chapter 14|22 pages

Calling C