Plotting graph in matlab

Say I want to plot y = e^(0.5*x)*(sin(x)). How do I enter this using the plot function?
I am trying to plot 3 graphs on the same page but matlab won't let me plot that one above (it lets me plot the other two).

 采纳的回答

更多回答(1 个)

felista paradiso
felista paradiso 2019-11-14

0 个投票

x=0:0.1:10
y = exp(0.5*x).*sin(x)
plot(x,y)

类别

帮助中心File Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by