How to plot this type of function?

1 view (last 30 days)
Dinh Le Dung
Dinh Le Dung on 3 Aug 2022
Edited: KSSV on 4 Aug 2022
  2 Comments

Sign in to comment.

Answers (1)

KSSV
KSSV on 4 Aug 2022
Edited: KSSV on 4 Aug 2022
t = linspace(-5,5) ;
x = exp(t) ;
y = 1-exp(-t) ;
z = atan2(y,x) ;
plot(t,z)
  3 Comments
KSSV
KSSV on 4 Aug 2022
Edited: KSSV on 4 Aug 2022
@Walter Roberson agree.....edited the code.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by