modelling simulink block diagram

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

Holaar
Holaar on 5 Feb 2014
Edited: Holaar on 5 Feb 2014
but transfer fcn must be a fraction form. There must be something in the denominator. And if I set the denominator to 1, and try to set the numerator to 2s+6, it says "order of the denominator must be greater than the numerator".
s in numerator means differntiation, you can use derivative block multiplied by 2 and then add 6 to get 2s+6.
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)

Categories

Find more on General Applications in Help Center and File Exchange

Asked:

on 5 Feb 2014

Answered:

on 5 Feb 2014

Community Treasure Hunt

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

Start Hunting!