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

 Risposta accettata

Più risposte (1)

felista paradiso
felista paradiso il 14 Nov 2019

0 voti

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

Categorie

Scopri di più su 2-D and 3-D Plots in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by