Irfan Munir: Name: Roll No: 15CE25 Lab Instructor's Signature:........... Date...................
Irfan Munir: Name: Roll No: 15CE25 Lab Instructor's Signature:........... Date...................
Irfan Munir: Name: Roll No: 15CE25 Lab Instructor's Signature:........... Date...................
Equipment required:
THEORETICAL BACKGROUND:-
The MATLAB® and Simulink® environments are integrated into one entity, and thus we can analyze,
simulate, and revise our models in either environment at any point. We invoke Simulink from within
MATLAB. We begin with a few examples and we will discuss generalities in subsequent chapters.
Throughout this text, a left justified horizontal bar will denote the beginning of an example, and a
right justified horizontal bar will denote the end of the example. These bars will not be shown
whenever an example begins at the top of a page or at the bottom of a page. Also, when one example
follows immediately after a previous example, the right justified bar will be omitted.
>>simulink
Alternately, we can click on the Simulink icon shown in Figure 1.3. It appears on the top bar on
Now we are to draw the sine wave and cosine wave on Simulink.
Figure 3.02: - Dragging the Sine Wave block function into File “Untitled’
Figure 3.03:- File Equation with added Sine wave and Scope block
Scope Result
Phase (rad) = pi / 2