Matlab Class Home      Class Outline      Previous Class      Next Class      Evaluation 2

Goal for Week 2: Create MATLAB variables, Assign values and Use variables for calculations

Summary of new tools and commands.

Tasks for Week 2
Tasks
1 Create a variable holding the radius of a circle, calculate the circumference and area, display the results.
2 Create two variables holding widths and heights, separately, of five rectangles. Calculate the areas of these rectangles.
3 Create an array (table) variable which has the width, height and area as columns, display the values in the third row of this table.
4 Create a variable holding a list of 8 zeros, initialize the values with even integer values starting at 12 and increasing by 2 each time. Calculate the square of these values, display the sixth value and its square.
5 Create a column vector (C) and a row vector (R) each with three values, determine the results of C*R and R*C.
6 Finding and fixing errors.

Matlab Class Home      Class Outline      Previous Class      Next Class      Evaluation 2


email: J. Klinck