Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!c65g2000hsa.googlegroups.com!not-for-mail
From: Rex <rex.eastbourne@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: How to be a good Matlab programmer
Date: Sat, 19 Apr 2008 16:02:01 -0700 (PDT)
Organization: http://groups.google.com
Lines: 13
Message-ID: <d6f9728b-07d7-4ebc-8264-e2485cde6259@c65g2000hsa.googlegroups.com>
NNTP-Posting-Host: 140.247.249.90
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1208646122 12855 127.0.0.1 (19 Apr 2008 23:02:02 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 19 Apr 2008 23:02:02 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: c65g2000hsa.googlegroups.com; posting-host=140.247.249.90; 
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.14) 
Xref: news.mathworks.com comp.soft-sys.matlab:464081


Hello,

I was wondering if any of you could suggest any resources for learning
idioms/tricks of effective Matlab programming. I want to make sure I'm
writing code in proper Matlab style. As a very simple example,
although I am used to writing "for" loops in Python/Ruby/C, I have
learned that in Matlab, vectorizing my code is faster and more
concise. I am sure there are other useful tips for people coming from
different languages. Any resources on this?

Thanks,

Rex