Equation for a growing and decaying exponential

조회 수: 2 (최근 30일)
Abhishek sadasivan
Abhishek sadasivan 2015년 4월 15일
댓글: Star Strider 2015년 4월 15일
I like know whether any single equation is there for a growing and decaying exponential .i.e from minus infinity to zero it has to grow up to one (at zero one) and from zero to + infinity it has to decay.(All most look like a triangle wave).whether any equation will do this or not . Thanks in advance .

채택된 답변

Star Strider
Star Strider 2015년 4월 15일
You can easily create your own. Here is an anonymous function that works:
x = [-10:0.1:10];
k = 2.0;
f = @(x,k) exp(-abs(k*x));
figure(1)
plot(x, f(x,k))
grid
  댓글 수: 4
Abhishek sadasivan
Abhishek sadasivan 2015년 4월 15일
Thanks you very much
Star Strider
Star Strider 2015년 4월 15일
My pleasure.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by