Jun
15

## R for Matlab Users

My favorite software is Matlab, but partly because R is free, more and more people & companies choose to use R as a major working language. Nothing wrong with that, I am at the moment changing some of my Kalman Filter Matlab codes to R.

One bothering issue is each software has its own coding rules, for example, in Matlab we use a(1,1) but in R we use a[1,1]; in Matlab we have ones(3,2) but in R we dont have such a command but matrix(1,3,2), etc. (I am always wondering why they can't be designed in a similar way). It does bring me trouble sometimes, luckily I came across a web page similar as cheat-sheets, it lists those widely used commands in R and corresponding commands in Matlab, very convenient indeed.

Search before trial & error: http://mathesaurus.sourceforge.net/octave-r.html

Walking Randomly suggests another excellent PDF manual consisting of 47 pages, fantastic! http://www.math.umaine.edu/~hiebeler/comp/matlabR.pdf

Hot posts:

15 Incredibly Stupid Ways People Made Their Millions

Online stock practice

World Changing Mathematical Discoveries

Ino.com: Don't Join Marketclub until You Read This MarketClub Reviews

Value at Risk xls

Random posts:

48 Hours Left For How to Spot Trading Opportunities

Fourier Space Time-stepping (FST) option calculator

Mental Math Tricks

14 Critical Lessons Every Trader Should Know

Week in Review 021211 R Language

One bothering issue is each software has its own coding rules, for example, in Matlab we use a(1,1) but in R we use a[1,1]; in Matlab we have ones(3,2) but in R we dont have such a command but matrix(1,3,2), etc. (I am always wondering why they can't be designed in a similar way). It does bring me trouble sometimes, luckily I came across a web page similar as cheat-sheets, it lists those widely used commands in R and corresponding commands in Matlab, very convenient indeed.

Search before trial & error: http://mathesaurus.sourceforge.net/octave-r.html

**PS:**Walking Randomly suggests another excellent PDF manual consisting of 47 pages, fantastic! http://www.math.umaine.edu/~hiebeler/comp/matlabR.pdf

**People viewing this post also viewed:**

Hot posts:

Random posts:

MatlabR

2010/07/26 16:31 [Add/Edit reply] [Clear reply] [Del comment] [Block]

A good one.

Pages: 1/1 1