MATLAB Programming Techniques

Learn how to write efficient, robust, and well-organized code in MATLAB

Complimentary Services: Post training email support & 1-hr consultation session within 1 month after the course completion!

TechSource Systems Pte Ltd

Course
Highlights

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:

  • Structuring data
  • Managing data efficiently
  • Utilizing development tools
  • Structuring code
  • Creating robust applications
  • Verifying application behavior
TechSource Systems Pte Ltd

Who Should
Attend

This course is intended for intermediate users of MATLAB who needs to create robust applications and manage large code efficiently.

TechSource Systems Pte Ltd

Course
Prerequisites

MATLAB Fundamentals

TechSource Systems Pte Ltd

Course
Benefits

Upon the completion of the course, the participants will be able to:

  • Optimize performance by choosing appropriate data types
  • Effectively utilize development tools
  • Create robust and user-friendly application interfaces
  • Optimize performance by choosing appropriate function types
  • Ensure code correctness

Partners

TechSource Systems Pte Ltd
TechSource Systems Pte Ltd

TechSource Systems is MathWorks Authorised Reseller and Training Partner

Upcoming Program

  • Please keep me posted on the next schedule
  • Please contact me to arrange customized/ in-house training

Course Outline

Structuring Data

Objective: Explore choices for storing data within a MATLAB application.

  • Data types
  • Concatenation and conversion
  • Cell and structure arrays
  • Extracting data
TechSource Systems Pte Ltd
TechSource Systems Pte Ltd

Managing Data Efficiently

Objective: Use common techniques for improving performance when storing, accessing, and processing data.

  • Preallocation
  • Vectorization
  • Memory management
  • Objects and classes

Utilizing Development Tools

Objective: Use integrated tools to manage code, diagnose problems, debug applications, and measure performance.

  • Managing files with Projects
  • Finding potential problems in code
  • Debugging code
  • Assessing code performance
  • Using Source Control
TechSource Systems Pte Ltd

Creating Robust Applications

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
TechSource Systems Pte Ltd
TechSource Systems Pte Ltd

Structuring Code

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

Verifying Application Behavior

Objective: Create tests to verify that code meets requirements.

  • Writing test scripts
  • Running test scripts
  • Using test functions
TechSource Systems Pte Ltd
TechSource Systems Pte Ltd

Appendix A: Creating a Toolbox

Objective: Package code and documentation into a custom toolbox for distribution to other users.

  • Creating documentation
  • Packaging the toolbox
  • Distributing the toolbox
QUICK ENQUIRY