Presentation is loading. Please wait.

Presentation is loading. Please wait.

Simulink Continuous Library by Dr. Amin Danial Asham.

Similar presentations


Presentation on theme: "Simulink Continuous Library by Dr. Amin Danial Asham."— Presentation transcript:

1 Simulink Continuous Library by Dr. Amin Danial Asham

2 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

3 Continuous Library Derivative MUX Max step size is “auto”  To adjust the accuracy the step size must be adjusted in the “Model Configuration Parameters”  A solver computes the time of the next simulation step by adding a step size to the current time.

4 Continuous Library Derivative MUX

5 Continuous Library Integration

6 Continuous Library Integration

7 Continuous Library Examples Ex1

8 Continuous Library Examples Ex2

9 Solving Differential equations Ex3

10 Solving Differential equations  Solution: Ex4

11 Solving Differential equations

12 Ex 5: Generating a sinusoidal signal sin(3t) Solution:

13 Solving Differential equations Ex 5

14 Solving Differential equations Ex 5

15 Ex 6: Solve the following system of equations Solving Differential equations

16 Ex 6: Solution: by rearranging the equations we get:

17 Solving Differential equations Ex 6:

18 Solving Differential equations Ex 6:

19 Example 7: simulate the system described by the following equation Solving Differential equations Therefore and

20 Solving Differential equations Example 7:

21 Solving Differential equations

22 Example 8:

23 Thanks


Download ppt "Simulink Continuous Library by Dr. Amin Danial Asham."

Similar presentations


Ads by Google