How can I implement the laplace transorm of a function in Simulink?

Hello all,
I might be asking a trivial question but im not familiar with simulink at all. Im a Matlab user really.
So I have the system:
F(s) = ts/((ts + 1)^2)
and I want to implement a block in simulink that takes in an input (in time) and gives the output of this system.
Any help will be greatly appreciated, Thanks, Andreas.

 Accepted Answer

That should be achieved by using the transfer function block.

3 Comments

Or - in cases your ts is actually an s - the zero pole block
Thank you! As a second question following this answer, Can I use a variable in the function definition and change so as to do a parametric sweep of my model?
Each variable you use in the mask of such a block "sees" the content of the variable if in the MATLAB workspace. So you can e.g. do parameter studies with a MATLAB code using SIM command.

Sign in to comment.

More Answers (0)

Categories

Find more on Simulink 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!