Plotting graph in matlab

2 views (last 30 days)
Anna
Anna on 4 Aug 2013
Answered: felista paradiso on 14 Nov 2019
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).

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 4 Aug 2013
x=0:0.1:10
y = exp(0.5*x).*sin(x)
plot(x,y)

More Answers (1)

felista paradiso
felista paradiso on 14 Nov 2019
x=0:0.1:10
y = exp(0.5*x).*sin(x)
plot(x,y)

Community Treasure Hunt

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

Start Hunting!