Advanced MATLAB Programming Techniques

Course Highlights

This course expands on material in the MATLAB Fundamentals and Programming Techniques course, and includes:

- Argument checking and exception handling
- Using function handles to pass functional arguments to MATLAB "function functions"
- Working with MATLAB objects and methods
- Improving the speed and quality of M-code using tools such as the profiler, the accelerator and the M-Lint Code Checker

Course Description
Participants taking this course will learn how to create more robust, flexible MATLAB programs.

Prerequisites

Attended "MATLAB for Technical Computing" or equivalent experience using MATLAB, as well as a good understanding of programming techniques.

Course Outline

Introduction

M- File Programming
Objective: Understand M-file programming basics using the new IDE
• The MATLAB workspace and visual directory
• Automatic code generation features
• The MATLAB editor
• Script and function M-files
• Programming keywords and constructions
• MATLAB precedence rules
• M-file cells
• M-file publishing
• M-file best practices

Argument Checking and Exception Handling
Objective: Write M-files with increased flexibility and teh ability to handle exception arguments
• Variable numbers of input adn output arguments
• Error and warning messages

• Exception handling

Code Diagnostics
Objective: Introduce diagnostic tools for investigating correctness adn efficiency of MATLAB code
• MATLAB debugger
• Visual dirctory tools
• MATLAB profiler

Improving Code Performance
Objective: Techniques for writing more efficient code
• Memory preallocation and management
• Vectorization techniques
• The MATLAB Accelerator
• MEX-files and the MATLAB Compiler

Function Handles
Objective: use function handles to pass functional arguments to MATLAB "function functions"
• Representing and evaluating functions in MATLAB
• When to use function handles
• The function handle data type
• Function functions
• Optimization function functions
Integration function functions
• ODE function functions

Object- Oriented Programming
Objective: Introduce the fundamentals of object- oriented programming in MATLAB
• What is object- oriented programming?
• Representing objects in MATLAB
• Writing class constructors and class methods
• Overloading operators and functions
• Reviewing MATLAB precedence rules

Who Must Attend

Professionals who wish to learn advanced programming techniques and have a better understanding of MATLAB.



Date::
Please kindly check our Training Calendar
Venue:
  Activemedia Innovation
Time:
  10.00am - 5.30pm
Course Fee:
Please contact our Training Consultants for details
Enquiries:
6742 8173 enquiry@activemedia.com.sg