Presentation is loading. Please wait.

Presentation is loading. Please wait.

S i m u l i n k Prof. Muhammad Saeed Mathematical Modeling and Simulation UsingMATLAB 1.

Similar presentations


Presentation on theme: "S i m u l i n k Prof. Muhammad Saeed Mathematical Modeling and Simulation UsingMATLAB 1."— Presentation transcript:

1 S i m u l i n k Prof. Muhammad Saeed Mathematical Modeling and Simulation UsingMATLAB 1

2 2 Introduction How to start? Block Library Model Blocks Virtual Non-virtual User-defined Ports Time States Continuous Discrete Hybrid Parameters Normal Tunable Sample Time Subsystems

3 3 Basic Blocks: Math Operations Logic & Bitwise Operators Sinks Sources Continuous Discontinuous Discrete User-defined Functions Language structures as blocks if for while do while Switch

4 4 Creating Models Block Selection Sources Sinks System Blocks Block Editing Color Size Alignment Labeling Parameters and states Connecting Blocks Group Blocks

5 5 Model Blocks: Source Sink Multiplication and Division Addition and Subtraction

6 6 Model Blocks: Sum Dot Product Vector Multiplication Matrix Multiplication Element by Element By Matrix Rule

7 7 Model Blocks: Built-in Functions abs max, min Logarithmic, exponential Trigonometric Polynomial Product Rounding off

8 8 Model Blocks: User-defined Functions Embedded Matlab Function Function of Matlab Functions Matlab Function

9 9 Differential Equation Models 1.

10 10 Differential Equation Models 2.

11 11 Differential Equation Models

12 12 Differential Equation Models

13 13 Differential Equation Models

14 14 3. Differential Equation Models

15 15 Differential Equation Models

16 16 If else For While switch

17 17 IF Block

18 18 END


Download ppt "S i m u l i n k Prof. Muhammad Saeed Mathematical Modeling and Simulation UsingMATLAB 1."

Similar presentations


Ads by Google