CS 211 Lesson 2

Values, Arrays, and Variables

Quote:

Who you are speaks so loudly, I cannot hear what you are saying. Ralph Waldo Emerson

Lesson Objectives:

Lesson:

I. MATLAB Concepts

A. MATLAB Arrays

B. Array Variables

MATLAB command Description
Count % Use the variable name "all by itself"
disp(Count) % Use the display MATLAB function disp()

C. Accessing Array Elements

D. The MATLAB Workspace

E. Pre-defined Special Values

II. Good Programming Practices

III. Algorithms

A. Swap the contents of two variables

Lab Work: Lab 2

References:  Chapman Textbook: sections 2.1-2.5