Generating An Exponential Function

조회 수: 2(최근 30일)
cikalekli 2021년 11월 23일
댓글: Dyuman Joshi 2021년 11월 24일
I am trying to generate an exponential function which grows with factor 0.5
between -20 < t < 20.
Did I find it correct? I was not sure so that is why I just wanted to ask here.
Here is my code which I wrote:
t = -20 : 0.5 : 20;
unit(11:end) = 1;
expf = exp(0.5*t);
expunit = expf.*unit;
stem(t,expunit, '- b',...
  댓글 수: 1
Dyuman Joshi
Dyuman Joshi 2021년 11월 24일
factor of 5 how exactly?

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


Community Treasure Hunt

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

Start Hunting!

Translated by