Skip to Main Content Skip to Search
Accelerating the pace of engineering and science

 

교육 - 교육 과정

MLPR: MATLAB Programming Techniques

MATLAB Programming Techniques은 MATLAB® 환경 하에서 효과적이며 안정적이고 잘 계획된 코드 작성을 위한 실습 위주의 교육입니다. 다루어지는 내용은 알고리즘의 개발,  full applications의 작성 및 MATLAB의 기본 기능들의 확장이 근간을 이룹니다. 코드의 생성, 디버깅 및 프로파일링과 성능 최적화에 대해서도 과정 전체에서 다루게 됩니다. 

  • 정확도 개선 프로그래밍
  • 데이터 구조화
  • 코드의 구조화
  • 클래스 및 객체 생성
교육 일정 & 신청 상사 및 동료와 공유하기
 
 세부 교육내용 보기

 

Day 1 of 1
Introduction

Objectives:

  • Obtain a quick overview of The MathWorks and MATLAB
  • Discuss course set-up, materials, and logistics
  • Provide a “big picture” view of the course ahead
Programming for Correctness

Objective: Creating robust applications that withstand unexpected input and produce meaningful errors is the goal of many application developers. Through the use of built-in MATLAB functions and programming constructs, this section covers standard techniques for handling error conditions. Tools for debugging code, diagnosing problems, and measuring performance are an integral part of this section.

  • Warnings and errors
  • Handling errors
  • The try-catch construct
  • The MException object
  • Analyzing code in the MATLAB Editor
  • Directory reports
  • MATLAB Debugger
  • Assessing performance
  • MATLAB Profiler
Structuring Data

Objective: This section examines choices for storing data within a MATLAB application. The choice of data type plays an important role in an application's storage requirements and execution time. Highlighted in this section are common techniques for improving performance when storing, accessing, and processing data.

  • Cell arrays
  • Structure arrays
  • Other data containers
  • Preallocation
  • Vectorization
  • Memory management
  • Passing data between functions
Structuring Code

Objective: Modularizing code into readable and maintainable functions is often an important design consideration. This section explores the different function types available in the MATLAB language, and discusses some of the tradeoffs associated with these choices. The effect of the function type on performance, as well as reliability of the code, is an important theme throughout the chapter.

  • Private functions
  • Function handles
  • Subfunctions
  • Nested functions
  • Precedence rules
  • Variable scope and visibility
  • Comparison of function types
Classes and Objects

Objective: This section of the course discusses an approach for combining data and its associated operations into a custom data type, or class. By writing classes, and creating objects from those classes, this section shows simple techniques used in advanced application development. Custom classes form the foundation for organizing large applications.

  • Class definition files
  • Properties
  • Property attributes
  • Methods
  • Creating object instances
  • Handle classes
  • Overloading operators
  • Precedence rules

수강자 필수조건

MATLAB Fundamentals 이수 혹은 MATLAB 기본 사용 능력 및 프로그래밍 기초  

교육기간 -

교육 요청