MATLAB® / R Reference, by David Hiebeler

Here is the current version of my MATLAB / R Reference in PDF form (last updated June 24, 2014). I wrote the initial version of this during Spring 2007, as I learned R while teaching my Modeling and Simulation course (I'd previously used only MATLAB for prior versions of the course). I have since continued to add to it. The reference is ideally suited for someone who is already good in one package and is trying to read code in or learn the other. It may also be useful as a reference (not a tutorial) for someone learning one of the packages, even with no experience in the other.

Note: I still have a pretty good list of updates to merge in. However, I wanted to release an update with some crucial fixes, e.g. how R's sd function operates on matrices has changed and the old info no longer works correctly. See the change log below for a list of what else was added/updated.

Change log

Here is a record of the various changes made to the document over time.