How can i plot this exact graph?

Answers (1)

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

I have tried but I'm not able to draw the dots on the graph line.
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

Asked:

on 20 Oct 2017

Commented:

KL
on 20 Oct 2017

Community Treasure Hunt

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

Start Hunting!