Introduction To Simulink and Structures of Iir and Fir in Matlab

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

LAB # 13

INTRODUCTION TO SIMULINK AND


STRUCTURES OF IIR AND FIR IN MATLAB

OBJECTIVE:
The basic objective of this Lab is to make students able to understand how to work in Simulink
environment

1. INTRODUCTION TO SIMULINK

Simulink is an environment for simulation and model-based design for dynamic and
embedded systems. It provides an interactive graphical environment and a customizable set
of block libraries that let you design, simulate, implement, and test a variety of time-varying
systems, including communications, controls, signal processing, video processing, and image
processing.

2. START USING SIMULINK


You start Simulink from the MATLAB IDE:
Open MATLAB and select the Simulink icon in the Toolbar:
Or type “simulink” in the Command window, like this:
Then the following window appears (Simulink Library Browser):
The Simulink Library Browser is the library where you find all the blocks you may use in

Simulink. Simulink software includes an extensive library of functions commonly used in

modeling a system. These include:

• Continuous and discrete dynamics blocks, such as Integration, Transfer functions,

Transport Delay, etc.

• Math blocks, such as Sum, Product, Add, etc

• Sources, such as Ramp, Random Generator, Step, etc

2.1 BLOCK LIBRARIES


Here are some common used Continuous Blocks:

Here are some common used Math Operations Blocks:

Here are some common used Sinks Blocks:


2.2 CREATE A NEW MODEL
Click the New icon on the Toolbar in order to create a new Simulink model:

The following window will appear

You may now drag the blocks you want to use from the Simulink Library Browser to the

model surface (or right-click on a block and select “Add to…”).

EXAMPLE:
In this example we place (drag and drop) to blocks, a Sine Wave and a Scope, on the model
surface:

You might also like