exponential curve

2 views (last 30 days)
Jan
Jan on 6 Dec 2011
Hi, could someone help me. How to model exponential curve in simulink. For example e^x where x is a variation which can be change. Which blocks should be used?
Thanks

Accepted Answer

Paulo Silva
Paulo Silva on 6 Dec 2011
From the User-Defined Functions use the MATLAB Fcn, the code you should put in that block is
exp(u(1))
Now for input try the Ramp block from Sources
Another block that does the e^x is on the Math Operations, it's the Math Function block.
  6 Comments
Paulo Silva
Paulo Silva on 6 Dec 2011
do you know the mathematical expression?
By your description it looks like a saturated signal
Jan
Jan on 6 Dec 2011
no i don't know the mathematical expresion.
Yes it could be saturated signal. I have done something with transfer fcn, but if I don't know coefficients how to reach it. I just want to change input signal or some parameters to gain the curve and it's changing.

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!