Path: news.mathworks.com!newsfeed-00.mathworks.com!kanaga.switch.ch!switch.ch!news-fra1.dfn.de!feeder.erje.net!aioe.org!not-for-mail
From: dpb <none@non.net>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to be a good Matlab programmer
Date: Sat, 19 Apr 2008 18:23:44 -0500
Organization: Aioe.org NNTP Server
Lines: 15
Message-ID: <fudv0j$adm$2@aioe.org>
References: <d6f9728b-07d7-4ebc-8264-e2485cde6259@c65g2000hsa.googlegroups.com>
NNTP-Posting-Host: QcT0uEFqKq0TDB0cQpjA3g.user.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
Xref: news.mathworks.com comp.soft-sys.matlab:464083


Rex wrote:
> 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?

I assume you've read the section in the online documentation on 
"Optimizing Matlab Code" in the m-file programming section?

--