ANALOGUE AND DIGITAL SIGNAL PROCESSING
Experiment #02 Objective: To Learn the Use of Simulink 1. Sine Wave:
Fig.# 1 Output:
Fig.# 2 2. Complex Numbers: I.
For magnitude angle to complex we have
II.
For real and imaginary to complex we have
III.
Fig.# 3 to extract the separate components of a complex number
Fig.# 4 Adeel Ahmad
2015-EE-724 January 30, 2018
1
ANALOGUE AND DIGITAL SIGNAL PROCESSING
3. Matrices: As Simulink is MATLAB based, it is not surprising that there is extensive support for use of matrices and multidimensional arrays. For example, the basic gain block can be configured to perform matrix or array multiplication.
Fig.# 5
Fig.# 6
Assignment block: Which replace a particular element with another signal.
Fig.# 7
Adeel Ahmad
2015-EE-724 January 30, 2018
2
ANALOGUE AND DIGITAL SIGNAL PROCESSING
Concatenate: It can add rows (dimension 1) or columns (dimension 2) to a matrix.
Fig.# 8
Sum:
Fig.# 9
Product:
Fig.# 10
Min/Max:
Fig.# 11
Conclusion: We performed the experiment and learnt different Commands in Simulink.
Adeel Ahmad
2015-EE-724 January 30, 2018
3