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?

 Respuesta aceptada

Stephen23
Stephen23 el 24 de Feb. de 2018
Editada: Stephen23 el 24 de Feb. de 2018

3 votos

1 comentario

Dyuman Joshi
Dyuman Joshi el 20 de En. de 2024
Editada: Dyuman Joshi el 27 de En. de 2024
This can be obtained using fplot as well -
%Plot the exp function from x = -2 to x = 3
fplot(@exp, [-2 3])

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 24 de Feb. de 2018

Editada:

el 27 de En. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by