0% found this document useful (0 votes)
2 views6 pages

Procedure 1

The document outlines a series of procedures for building and analyzing systems using Simulink in MATLAB, focusing on differential equations and transfer functions. It includes steps for creating models, adding scopes for visualizing responses, and modifying initial conditions. Additionally, it poses questions related to solving a specific example and writing the differential equation for a given Simulink model.

Uploaded by

abusbeihdana3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views6 pages

Procedure 1

The document outlines a series of procedures for building and analyzing systems using Simulink in MATLAB, focusing on differential equations and transfer functions. It includes steps for creating models, adding scopes for visualizing responses, and modifying initial conditions. Additionally, it poses questions related to solving a specific example and writing the differential equation for a given Simulink model.

Uploaded by

abusbeihdana3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Student Name:

Student ID:
Procedure A: Basic Simulink blocks
1. Build the system defined by the following DE by using the basic Simulink block in
MATLAB
𝒅𝒙
𝒙(𝒕) = −𝟖
𝒅𝒕

2. Add a scope to display draw the solution of the equation.

3. Build the system defined by the following DE by using the basic Simulink blocks
(integrators) in MATLAB
𝒅𝒙
= 𝒖(𝒕) − 𝟒𝒙
𝒅𝒕
Assume x(0)=0
4. Add a scope to display the unit step response of the system.

1
5. Now, repeat step 5 to get the ramp response.

6. Modify the Simulink in step 5 if x(0)=-1

7. Build the system defined by the following DE by using the basic Simulink blocks
in MATLAB
𝒚′′ + 𝟒𝒚′ + 𝟐𝒚 = 𝒙(𝒕)
Assume all initial states are =0

8. Add a scope to display the unit step response of the system.

2
9. Repeat the previous step if y(0)=-1 and y’(0)=-0.5

Procedure B: Transfer Function


1. Build the system defined by the following DE by using the suitable Transfer
function block in MATLAB
𝒅𝒙
= 𝒖(𝒕) − 𝟒𝒙
𝒅𝒕
Assume x(0)=0
2. Add a scope to display the unit step response of the system.

3. Now, repeat step 2 to get the ramp response.

3
4. Modify the Simulink in step 5 if x(0)=-1

5. Build the system defined by the following DE by using a suitable Transfer


function block in MATLAB, assume all the initial conditions are =0
𝒚′′ + 𝟒𝒚′ + 𝟐𝒚 = 𝒙(𝒕)
6. Add a scope to display the unit step response of the system.

4
7. Repeat the previous step if y(0)=-1 and y’(0)=-0.5

8. Modify your Simulink to present the input and the output signals simultaneously
on the scope.

Questions

1. Solve Example3 in the provided Simulink Modeling file

5
2. Write the DE of the system presented in the following Simulink:

Conclusion:

You might also like