CSC's trainings and events have moved

Find our upcoming trainings and events at www.csc.fi.

This site is an archive version and is no longer updated.
 

Go to CSC Customer trainings and Events
null MATLAB Programming Techniques
MATLAB Programming Techniques
Date: 10.04.2015 9:00 - 11.04.2015 17:00
Location details: The event is organised at the CSC Training Facilities located in the premises of CSC at Keilaranta 14, Espoo, Finland. The best way to reach us is by public transportation; more detailed travel tips) are available.
Language: english-language
lecturers: Rafal Rogowski (MathWorks)
Price:
  • 60 for-finnish-academics
  • 280 for-others
The fee covers all materials, lunches as well as morning and afternoon coffees.
First come, first served.

This two-day course provides hands-on experience using the features in the MATLAB language to write efficient, robust, and well-organized code. These concepts form the foundation for writing full applications, developing algorithms, and extending built-in MATLAB capabilities. Details of performance optimization, as well as tools for writing, debugging, and profiling code are covered.

Topics include:

  • Utilizing development tools
  • Verifying application behavior
  • Creating robust applications
  • Structuring code
  • Structuring data
  • Managing data efficiently
  • Creating a toolbox

Previous experience with MATLAB is needed, but no prior knowledge of MATLAB programming is assumed.

Program

Day 1 of 2

Utilizing Development Tools (2.0 hrs)
Objective: Use integrated tools to manage code, diagnose problems, debug applications, and measure performance.

  • Generating reports on multiple files
  • Finding potential problems in code
  • Debugging code
  • Assessing code performance

Verifying Application Behavior (2.0 hrs)
Objective: Create tests to verify that code meets requirements.

  • Writing test scripts
  • Running test scripts
  • Using test functions

Creating Robust Applications (3.0 hrs)
Objective: Create robust applications that withstand unexpected input and produce meaningful errors. Use built-in MATLAB functions and programming constructs, and employ standard techniques for handling error conditions.

  • Creating flexible function interfaces
  • Checking for warning and error conditions
  • Working with the try-catch construct and MException objects

 

Day 2 of 2

Structuring Code (2.0 hrs)
Objective: Modularize code into readable and maintainable functions. Explore the different function types available in the MATLAB language and the tradeoffs associated with each type. See how function type affects the performance and reliability of the code.

  • Private functions
  • Local functions
  • Nested functions
  • Function handles
  • Precedence rules
  • Comparison of function types

Structuring Data (2.0 hrs)
Objective: Explore choices for storing data within a MATLAB application.

  • Data types
  • Cell and structure arrays
  • Extracting data
  • Concatenation and conversion
  • Objects and classes

Managing Data Efficiently (2.0 hrs)
Objective: Use common techniques for improving performance when storing, accessing, and processing data.

  • Preallocation
  • Vectorization
  • Memory management
  • Passing data between functions

Creating a Toolbox (1.0 hrs)
Objective: Package code and documentation into a custom toolbox for distribution to other users.

  • Creating documentation
  • Packaging the toolbox
  • Distributing the toolbox