modelling simulink block diagram

2 views (last 30 days)
Holaar
Holaar on 5 Feb 2014
Answered: Azzi Abdelmalek on 5 Feb 2014
I'm using simulink to model the following:
U(s) ------> 2s+6 ------> X(s)
So the input U(s) multiplied by (2s+6) gives the output X(s). Now my problem is which block in simulink allows me to write (2s+6)? Should it be a gain? But then gain blocks require a numerical value, and this 2s+6 obviously has s. How do I do this. THanks.

Accepted Answer

Anuj
Anuj on 5 Feb 2014
Go to simulink lobrary and type transfer fcn.
  3 Comments
Anuj
Anuj on 5 Feb 2014
s in numerator means differntiation, you can use derivative block multiplied by 2 and then add 6 to get 2s+6.
Holaar
Holaar on 5 Feb 2014
ok so du/dt = s. What about s^2? I just link up two derivative blocks? THanks a lot

Sign in to comment.

More Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 5 Feb 2014
Try this approximation:
(2s+6)/(0.0000001s+1)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!