Lab 1 MatLab Basics
Lab 1 MatLab Basics
II. Objectives
III. Materials
IV. Procedure
Part 1: Starting Up
1. Open MATLAB.
2. Familiarize yourself with the workspace window and the command
prompt.
matrices
V. Questions / Problems
1. Perform the following operations and write down the results using MATLAB:
a. 10 + 23
b. 124 - 85
c.16 x 23
d. 186 ÷ 3
961 𝑥5
)2 −
e.
(100−75
75−25
3 2 1 9 8 7
Matrices: 𝐴 = [4 5 6] , 𝐵 = [6 5 4]
7 8 3 2 1
9
a. Find
A+B
b. Find
A-B
c.Perform element-wise multiplication of A and B
d. Calculate the determinant of A
e. Find the eigenvalues of A
1.
2.
3.
4.
5.