0% found this document useful (0 votes)
2 views

SimulinkMATLAB-1

The following is MAtlab which uses Simulink

Uploaded by

joe.sajatovic
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

SimulinkMATLAB-1

The following is MAtlab which uses Simulink

Uploaded by

joe.sajatovic
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 26

INTRODUCTION

• The Matlab software contain a program known


as Simulink.
• The Simulink is taken form the word Simulation
which means to represent a system using
another system that has identical behavior or
characteristics to real world system.
• The Simulink program is used for the formation
various models graphically.
OBJECTIVES
• Getting started with Simulink.
• Designing model.
• Understanding various blocks of Simulink library.
• Modelling in Simulink for;
• Basic circuits
• Signal and system
• Mathematical formulas
GETTING STARTED

Matlab Simulink
Search bar

New Model

Open Model

Stay On Top
Simulink Library

Rotate left Simulation time


Print & Run Stop
Rotate Right
Select Fixed Step in type Enter 0.0001/ any smaller
Value to get smooth graph

We can also enter the


Simulation start and
stop time form here
DESIGNING MODEL

Understanding Calculate the Values


Sketching the model
System for required System

E.g. E.g. E.g.

𝑺
V=
𝒕
Simulink Library
• Simple mathematical Operation
• Differentiation and Integral
• Delay function
• Quantization function
• Euler’s Theorem model
• Capacitor mathematical model
Simple Mathematical Operation
Sine
Ramp wave
Function

BLOCKS

Add Scope
Simple Mathematical Operation
Simple Mathematical Operation
Differentiation & Integration
Inte-
Drivative
grator

BLOCKS

Sine-
wave Multi- Scope
Function plexer
Differentiation & Integration
Delay Function
Trans-
Step Port
Delay

BLOCKS

Sine-
wave Multi- Scope
Function plexer
Delay Function
Delay Function
Quantization
Sine
Quanti-
wave
Zation
Function

BLOCKS

Multi-
Scope
plexer
Quantization
Euler’s Theorem
Real-img
To
Complex Display

Sine
Drivative wave
BLOCKS
Function

Multi-
Scope
plexer
Euler’s Theorem
𝒊𝜽
𝒆 = 𝒄𝒐𝒔𝜽 + 𝒊𝒔𝒊𝒏𝜽
Euler’s Theorem
RC Circuit
Gain Add

Sine
Inte-
wave
grator BLOCKS
Function

Multi-
Scope
plexer
RC Circuit

𝑑𝑉𝑐 1
= (𝑉𝑠 − 𝑉𝑐 )
𝑑𝑡 𝑅𝐶
RC Circuit

You might also like