3.0

3.0 | 1 rating Rate this file 131 downloads (last 30 days) File Size: 287.17 KB File ID: #22597

Programming Patterns: Some Common MATLAB Programming Pitfalls and How to Avoid Them

by Linda Webb

 

06 Jan 2009

No BSD License  

Tips and best practices to help you become fluent in MATLAB and achieve your programming goals

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

Download Now | Watch this File

File Information
Description

Just like natural languages, programming languages have idioms. Mastering these nuances of syntax and meaning is essential to achieving your programming goal—whether that goal is to create a robust program or simply to get the right answer. Here are some tips and best practices to help you become fluent in MATLAB and achieve those goals.
By Loren Shure, The MathWorks

This article was published in The MathWorks News & Notes, 2008, which you can read at http://www.mathworks.com/company/newsletters/?s_cid=nws_flex

MATLAB release MATLAB 7.7 (R2008b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
13 Jan 2009 heiko

good examples,
setting things in an even wider context would help. I.e. fully worked examples to run e.g. for ' load', for graphics examples

02 Feb 2009 Awhan Patnaik

nice ... i found the tip about using function handles instead of specifying them as strings very useful.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
whitepaper Linda Webb 06 Jan 2009 15:28:07
article Linda Webb 06 Jan 2009 15:28:07
paper Linda Webb 06 Jan 2009 15:28:07
programming Linda Webb 06 Jan 2009 15:28:07
tips Linda Webb 06 Jan 2009 15:28:07
matlab Linda Webb 06 Jan 2009 15:28:07
matrix multiplication Linda Webb 06 Jan 2009 15:28:07
transpose Linda Webb 06 Jan 2009 15:28:07
duality Linda Webb 06 Jan 2009 15:28:07
strings Linda Webb 06 Jan 2009 15:28:07
function handles Linda Webb 06 Jan 2009 15:28:07
robust programs Linda Webb 06 Jan 2009 15:28:07
duality Øyvind 14 Jan 2009 06:51:52
function handles Øyvind 14 Jan 2009 06:51:56
whitepaper Cristina McIntire 15 Jan 2009 13:07:56
article Cristina McIntire 15 Jan 2009 13:07:56
matlab Cristina McIntire 15 Jan 2009 13:07:56
function handles Cristina McIntire 15 Jan 2009 13:07:56
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com