simulink mathematical operations by dr. amin danial asham

17
Simulink Mathematical Operations by Dr. Amin Danial Asham

Upload: gwendolyn-gallagher

Post on 20-Jan-2018

224 views

Category:

Documents


0 download

DESCRIPTION

Mathematical Operations Summation

TRANSCRIPT

SimulinkMathematical Operations

byDr. Amin Danial Asham

References

MATLAB Help

Telemark University College - Department of Electrical Engineering, Information Technology and Cybernetics – Tutorial

Simulink - Getting Started Guide

UNIVERSITY OF NEWCASTLE UPON TYNE - School of Electrical, Electronic and Computer Engineering - Matlab/Simulink Tutorial

Mathematical OperationsSummation

Mathematical OperationsSummation

Double click the “Add Block”, the Main pane of the Sum block dialog box appears.

The number of inputs and the sign of each input can be set.

Mathematical OperationsSubtraction

Mathematical OperationsMultiplication

Mathematical OperationsMultiplication

Double click the “Product Block”, the Main pane of the block dialog box appears..

The number of inputs can be set.

Mathematical OperationsDivision

Mathematical OperationsMultiplication-Division

Double click the “Product Block”, the Main pane of the block dialog box appears.. The number of inputs and the operation (* or /) for each input can be set.

Mathematical OperationsCalculating a mathematical expression5 𝑥+

𝑦10 ,𝑥=3∧𝑦=5

Mathematical OperationsCalculating a mathematical expression5 (𝑥+6 𝑦 )+ z , 𝑥=2 , 𝑦=5 ,𝑎𝑛𝑑 𝑧=10

Mathematical OperationsSolving

5 𝑥+15=0Rearrange the equations as follows

5 𝑥=−15

Double Click

Can be non-scalar

Mathematical OperationsSolving a system of first order equations

, Rearrange the equations as follows

,

Mathematical OperationsMatrix Operations

Double Click the Constant BlocksThe constant can be a non-scalar quantity

Mathematical OperationsMatrix Operations

𝑐 𝑨𝑩− 1

Mathematical OperationsSolving a system of equations in Matrix Form

(5 31 1)(𝑥𝑦 )+(−50 )=(00)

Thanks