Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to be a good Matlab programmer
Date: Sun, 20 Apr 2008 19:50:03 +0000 (UTC)
Organization: University of Maine
Lines: 30
Message-ID: <fug6pb$lf1$1@fred.mathworks.com>
References: <d6f9728b-07d7-4ebc-8264-e2485cde6259@c65g2000hsa.googlegroups.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1208721003 21985 172.30.248.35 (20 Apr 2008 19:50:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 20 Apr 2008 19:50:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 92533
Xref: news.mathworks.com comp.soft-sys.matlab:464176



Rex <rex.eastbourne@gmail.com> wrote in message
<d6f9728b-07d7-4ebc-8264-e2485cde6259@c65g2000hsa.googlegroups.com>...
> 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


How about a book, cowritten by a 25 year user of MATLAB?
Mastering MATLAB 7. It covers MATLAB programming, especially
the chapter entitled Examples, Examples, Examples.

I used "classic" MATLAB in 1983 and purchased PC MATLAB in
1985 from the company owner's California garage. (Isn't that
where all California companies get their start?).

Duane