How can i plot this exact graph?

Réponses (1)

KL
KL le 20 Oct 2017

0 votes

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 commentaires

Basit  Nadeem
Basit Nadeem le 20 Oct 2017
I have tried but I'm not able to draw the dots on the graph line.
KL
KL le 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!

Connectez-vous pour commenter.

Catégories

En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange

Tags

Commenté :

KL
le 20 Oct 2017

Community Treasure Hunt

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

Start Hunting!

Translated by