Use One MATLAB Command Per Line
(Originally posted on Doug's MATLAB Video Tutorials blog.)
This is a common programming pattern that I see with new MATLAB users: They put more than one command per line in MATLAB file. This can make it harder to visually take in a file, and because profiler and error messages give information back based on the line number this practice will often hide the source command if they are nested or placed two on a line.
Recorded: 9 Dec 2011
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.