I need help with creating bounded logarithmic plot

조회 수: 1(최근 30일)
Adam Szablewski
Adam Szablewski 2021년 6월 9일
답변: Joel Lynch 2021년 6월 9일
I need help with creating bounded logarithmic plot with:
x=e^-1, y=t, 0<t<2pi
Can someone please solve this?

답변(1개)

Joel Lynch
Joel Lynch 2021년 6월 9일
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)

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by