Matlab Programming Tips
categorized compilation of tips for the MATLAB programmer. Each item is relatively brief to help you to browse through them and find information that is useful. Many of the tips include a link to specific MATLAB documentation that gives you more complete coverage of the topic.
Command and Function Syntax" on page3 Syntax, command shortcuts, command recall, etc. "Help" on page6 Getting help on MATLAB functions and your own "Development Environment" on page11 Useful features in the development environment "M-File Functions" on page13 M-file structure, getting information about a function "Function Arguments" on page16 Various ways to pass arguments, useful functions "Program Development" on page18 Suggestions for creating and modifying program code "Debugging" on page21 Using the debugging environment and commands "Variables" on page25 Variable names, global and persistent variables "Strings" on page28 String concatenation, string conversion, etc. "Evaluating Expressions" on page31 Use of eval , short-circuiting logical expressions, etc. "MATLAB Path" on page33 Precedence rules, making file changes visible to MATLAB, etc.
"Program Control" on page37 Using program control statements like if , switch , try "Save and Load" on page41 Saving MATLAB data to a file, loading it back in "Files and Filenames" on page44 Naming M-files, passing filenames, etc. "Input/Output" on page47 Reading and writing various types of files "Managing Memory" on page50 What you can do to use less memory in your MATLAB applications "Optimizing for Speed" on page56 Acceleration, vectorizing, preallocation, and other ways you can get better performance.
Source: www.csee.wvu.edu
Related PDF Files
Topic:
Comments for Matlab Programming Tips