I have the task to plot a graph using the function y=e^x but I am having trouble with the constant e. Do I have to define e first? or is there another way to rewrite this equation?

 채택된 답변

Stephen23
Stephen23 2018년 2월 24일
편집: Stephen23 2018년 2월 24일

3 개 추천

댓글 수: 1

Dyuman Joshi
Dyuman Joshi 2024년 1월 20일
편집: Dyuman Joshi 2024년 1월 27일
This can be obtained using fplot as well -
%Plot the exp function from x = -2 to x = 3
fplot(@exp, [-2 3])

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

질문:

2018년 2월 24일

편집:

2024년 1월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by