필터 지우기
필터 지우기

how to plot exponential function

조회 수: 1 (최근 30일)
Carc
Carc 2023년 1월 12일
댓글: Matt J 2023년 1월 12일
I am a novice user of matlab. I want to plot a exponenetail function, but failed. Could you let me know what error I have?
x = (10^-12:100:50);
y = (x ./ 0.026^2) .* (exp(-x ./ 0.026));
plot(x, y)

답변 (1개)

Matt J
Matt J 2023년 1월 12일
편집: Matt J 2023년 1월 12일
x = linspace(10^-12,50,100);
y = (x ./ 0.026^2) .* (exp(-x ./ 0.026));
loglog(x, y,'x--')
  댓글 수: 1
Matt J
Matt J 2023년 1월 12일
If you don't know, nobody does.

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

카테고리

Help CenterFile Exchange에서 Graphics Objects에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by