Equation for a growing and decaying exponential

13 ビュー (過去 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 Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by