How can i plot this exact graph?

16 views (last 30 days)
Basit  Nadeem
Basit Nadeem on 20 Oct 2017
Commented: KL on 20 Oct 2017
How can i plot this exact graph?

Answers (1)

KL
KL on 20 Oct 2017
What have you tried? Did you read the documentation?
Simple hint:
x = 0:stepsize:xmax;
y = sin(x);
y1 = ...;
y2 = ...;
plot(x,y)
hold on
plot(x,y1)
plot(x,y2)
  2 Comments
Basit  Nadeem
Basit Nadeem on 20 Oct 2017
I have tried but I'm not able to draw the dots on the graph line.
KL
KL on 20 Oct 2017
Did you read the links I gave you??
Don't be lazy! This page has EXACTLY THE SAME PLOT you're asking for!

Sign in to comment.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!