How to Draw between specific points

1 vue (au cours des 30 derniers jours)
Manora Mony
Manora Mony le 25 Nov 2021
Réponse apportée : C B le 25 Nov 2021
Hello Dear all
can you help me in plot between specific points
ex if x = [ 6 8 10 ]
y = [ 20 30 40 ]
how to plot the curve that draw these points to these points only
thanks in advance....

Réponses (1)

C B
C B le 25 Nov 2021
The three points you want to draw is (6,20),(8,30),(10,40) ?
or you want something else?
x = [ 6 8 10 ];
y = [ 20 30 40 ];
plot(x,y)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by