How can i plot this exact graph?

Risposte (1)

KL
KL il 20 Ott 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 Commenti

I have tried but I'm not able to draw the dots on the graph line.
KL
KL il 20 Ott 2017
Did you read the links I gave you??
Don't be lazy! This page has EXACTLY THE SAME PLOT you're asking for!

Accedi per commentare.

Categorie

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

Tag

Richiesto:

il 20 Ott 2017

Commentato:

KL
il 20 Ott 2017

Community Treasure Hunt

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

Start Hunting!

Translated by