I need help with creating bounded logarithmic plot

2 views (last 30 days)
Adam Szablewski
Adam Szablewski on 9 Jun 2021
Answered: Joel Lynch on 9 Jun 2021
I need help with creating bounded logarithmic plot with:
x=e^-1, y=t, 0<t<2pi
Can someone please solve this?

Answers (1)

Joel Lynch
Joel Lynch on 9 Jun 2021
Assuming you meant to have , then
t = linspace(0,2*pi);
x = exp(-t); % if constant, then x(1:numel(t))=exp(-1);
y = t;
plot(x,y)

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!