교육과정 모듈
Introduction
Overview of the content covered.
Structuring Data
Explore choices for storing data within a MATLAB application.
강의 내용:
- Organizing Data in a Table
- Extracting Data from a Table
- Storing Data in a Cell Array
- Extracting Data from a Cell Array
- Organizing Data in a Structure
- Extracting Data from a Structure
- Review - Structuring Data
Manipulating Heterogeneous Data
Manipulate data in tables, cell arrays, and structure arrays.
강의 내용:
- Extracting Multiple Elements from Cell and Structure Arrays
- Applying Scalar Functions to Arrays
Optimizing Your Code
Use common techniques for improving performance when storing, accessing, and processing data.
강의 내용:
- Improving Memory Usage in Functions
- Review - Optimizing Your Code
Creating Flexible Functions
Write functions that can handle different numbers and types of user input values.
강의 내용:
- Creating Flexible Function Interfaces
- Creating Multiple Interfaces with Wrapper Functions
- Setting Default Input Values
- Allowing Any Number of Inputs
- Matching Text Inputs to an Allowed Set
- Allowing a Variable Number of Outputs
- Changing the Function Interface with Anonymous Functions
- Review - Creating Flexible Functions
Creating Robust Applications
Create robust applications that withstand unexpected input and produce meaningful errors. Use built-in MATLAB functions and programming constructs, and employ techniques for handling error conditions.
강의 내용:
- Course Example - Structuring the Satellite Tracking Code
- Restricting Access Using Private Functions
- Generating Custom Warning and Errors
- Validating Function Inputs
- Catching and Handling Errors
- Review - Creating Robust Applications
Verifying Application Behavior
Create tests to verify the application is behaving as expected.
강의 내용:
- Why Use a Testing Framework
- Writing and Running a Test Script
- Avoiding Bugs in Comparisons
- Passing Commands as Inputs
- Adding Pre- and Post-Test Tasks
Debugging Your Code
Use integrated tools to debug applications.
강의 내용:
- Repairing Satellite Tracking Code
- Debugging Run-Time Errors
Organizing Your Projects
Use folder reports, MATLAB Projects, and version control to organize and manage your projects.
강의 내용:
- Organizing Satellite Tracking Code
- Organizing Code with MATLAB Projects
- Managing a Code Base with Source Control
- Review - Organizing Your Projects
Conclusion
Learn next steps and provide feedback on the course.