The Islamic University of Gaza Electrical Engineering Department
The Islamic University of Gaza Electrical Engineering Department
Prepared by:
Sanabel N. El-Haddad 220170536
Submitted for:
Eng. Hadeel Matar
Gaza, Palestine
OCT 3, 2019
Objectives and Expectations:
This lab is to introduce the basic operations of MATLAB. Read through the handout
sitting in front of a computer that has a MATLAB software.
We learn how to perform basic mathematical operations on simple variables,
vectors, matrices and complex numbers and be familiar with some of basic function
and how to use it.
HOMEWORK:
Question 1: Compute the following expression using MATLAB
Answer:
i. The Code
Answer :
i. The Code
1 3 2 2 0 4
A=0 5 1 B=1 5 2
4 2 3 2 4 3
a- C = A*B.
b- Inverse of matrix A.
c- Sum first row of matrix B.
d- Delete second column of matrix A.
2 3
e- Add matrix D = 4 5 to matrix A.
6 7
Answer :
i. The Code