Lab1 Signal Processing
Lab1 Signal Processing
II – Introduction :
In this lab work we sine how to use the Matlab software and how to
create the scalar variables and matrix with their operations in addition to
that we sine how to generate a function and draw their graphics
Answer :
Exercise 1:
● a is a vector variable
● B is a row vector
● c is column vector
● D is a matrix
2 – Create the matrix A:
3- Display the 2nd element of the diagonal of the matrix D and then the
1st row of A:
The code A*B multiplying the elements of the row of the matrix A by the column elements
of the matrix B
Let A=[1:4;5:8;9:12;13:16]
Exercise 3:
Plot y versus x
Plot x versus y