### 课程概述

MATLAB is a special-purpose language that is an excellent choice for writing moderate-size programs that solve problems involving the manipulation of numbers. The design of the language makes it possible to write a powerful program in a few lines. The problems may be relatively complex, while the MATLAB programs that solve them are relatively simple: relative, that is, to the equivalent program written in a general-purpose language, such as C++ or Java. As a result, MATLAB is being used in a wide variety of domains from the natural sciences through all disciplines of engineering to finance and beyond, and it is heavily used in industry. Hence, a solid background in MATLAB is an indispensable skill in today’s job market.

Nevertheless, this course is not a MATLAB tutorial. It is an introductory programming course that happens to use MATLAB to illustrate general concepts in computer science and programming.

Students who successfully complete this course will:

become familiar with general concepts in computer science

gain an understanding of the general concepts of programming

obtain a solid foundation in the use of MATLAB

This is an introductory college-level course in computer science for engineering and science students. However, it is also suitable for high school students who are interested in programming. The material assumes no background in mathematics beyond the standard high school curriculum. Students taking the course will get a MATLAB license free of charge for a three-month period.

### 授课大纲

The course is divided into the following 8 weekly modules:

Week 1: Introduction to MATLAB

Week 2: Matrices and Operators

Week 3: Functions

Week 4: Programmer’s Toolbox

Week 5: Selection

Week 6: Loops

Week 7: Data Types

Week 8: File Input/Output

### 先修知识

Facility with basic high school math or equivalent is recommended.

### 参考资料

Although the lectures are designed to be self-contained, we recommend (but do not require) that students refer to the eBook, Fitzpatrick and Ledeczi, “Computer Programming with MATLAB,” which was written specifically for this course.

### 授课形式

The class will consist of lecture videos containing 1-2 integrated quiz questions per video. There will also be standalone programming assignments that are not part of video lectures..