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: Sun, 20 Apr 2008 09:25:00 -0500
Organization: Aioe.org NNTP Server
Lines: 36
Message-ID: <fufjqh$4de$1@aioe.org>
References: <d6f9728b-07d7-4ebc-8264-e2485cde6259@c65g2000hsa.googlegroups.com> 	<fudv0j$adm$2@aioe.org> <b375ae00-dba3-42a5-a138-31be2142591c@s50g2000hsb.googlegroups.com> <u8xOj.1371$26.1046@newssvr23.news.prodigy.net>
NNTP-Posting-Host: SrNgLvuAvkcjB7RaNSFIPw.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:464142


Dave Bell wrote:
> Rex wrote:
...
>> want to be clear that I'm not just looking for tips on optimizing the
>> performance of my code;  I also want to learn to write more elegant
>> and concise code.
...
> Another issue I ran into was simply searching for help. When I was 
> trying to speed up a project I was working on, someone suggested using 
> benchmark before and after changing some code. Not wanting to seem 
> dumber than I was, I didn't ask how to benchmark my code, I just figure 
> I'd look it up. Try it - there is no such command. One of the two hits I 
> got from 'Help benchmark' was an article on training a neural net, the 
> other was about a Simulink model of a Physics 1 experiment with a cart 
> and mass. I won't admit to how long it took to find 'bench'!

doc lookfor

and, of course, now one can also search the help files that wasn't 
particularly feasible in the early days

I think as someone else noted simply reading code and following c.s-s.m 
and more importantly, practice are the keys.  Matlab is a rich language 
and consequently requires effort and time to gain proficiency.

Maybe somebody will jump in during the next work week and can comment on 
their favorite texts that might be beneficial in the vein of the thread. 
  W/ dialup I don't use the TMW web site nearly enough to be up on what 
is there but I'd be surprised if aren't archives of the tutorial and 
other resources there as well.  Steve Lord can probably stick in a few 
pointers there as well as others...

--


--