exponential curve

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

 채택된 답변

Paulo Silva
Paulo Silva 2011년 12월 6일

0 개 추천

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

Jan
Jan 2011년 12월 6일
thanks a lot,
and how about inverted function. The curve is not going to infinite in axis y but in axis x?
Paulo Silva
Paulo Silva 2011년 12월 6일
What's that inverted function?
Paulo Silva
Paulo Silva 2011년 12월 6일
is it 1/exp(u(1))?
Jan
Jan 2011년 12월 6일
i don't know exactly, the curve starts at zero and grows till it's constant on y axis so goes to infinite in x axis.
Sorry for complicated explanation, but I don't know how to say it :)
Paulo Silva
Paulo Silva 2011년 12월 6일
do you know the mathematical expression?
By your description it looks like a saturated signal
Jan
Jan 2011년 12월 6일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

제품

질문:

Jan
2011년 12월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by