MATLAB: Plotting graph in matlab

exponentfunctionplot

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).

Best Answer

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