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

1 ) What is SIMULINK?

SIMULINK is a program with graphical programming facilities for simulating


dynamic systems.
As an extension to MATLAB, SIMULINK adds many features specific to
dynamic
systems while retaining of MATLAB’s general purpose functionality. For
example
complex systems containing also nonlinearities can be built and analysed easily.
A short introduction is given here. For more details we refer to the help function
and
the SIMULINK documentation.
SIMULINK has two phases of use, model definition and model analysis. First a
model has to be defined or a previously defined model is recalled. Then that
model is
analysed.
To facilitate model definition SIMULINK adds a new class of windows called
block
diagram windows. In these windows models are created and edited by mouse
driven
commands.
After having defined a model, we can analyze it either by choosing options from
the
SIMULINK menus or by entering commands in MATLAB’s command
window. The
progress of a simulation can be viewed while the simulation is running, and the
final
results can be made available in MATLAB workspace when a simulation is
complete.
2 ) Step
Object-: Write a program to find out the unit step response for the given function-:

S(s2+9s+19)/s3+7s2+14s+8

Apparatus-: Matlab software 7.0.4


Theory-:
Step Response
Similarly to the impulse response, the step response of a system is the output of the system
when a unit step function is used as the input. The step response is a common analysis tool
used to determine certain metrics about a system. Typically, when a new system is
designed, the step response of the system is the first characteristic of the system to be
analyzed.

Convolution

However, the impulse response cannot be used to find the system output from the
system input in the same manner as the transfer function. If we have the system
input and the impulse response of the system, we can calculate the system output
using the convolution operationas such:

y(t) = h(t) * x(t)


Remember: an asterisk meansconvolution, not multiplication!

Where " * " (asterisk) denotes the convolution operation. Convolution is a


complicated combination of multiplication, integration and time-shifting. We can
define the convolution between two functions, a(t) and b(t) as the following:

(The variable τ (greek tau) is a dummy variable for integration). This operation can
be difficult to perform. Therefore, many people prefer to use the Laplace Transform
(or another transform) to convert the convolution operation into a multiplication
operation, through the Convolution Theorem.

You might also like