How to Draw between specific points

3 visualizaciones (últimos 30 días)
Manora Mony
Manora Mony el 25 de Nov. de 2021
Respondida: Chetan Bhavsar el 25 de Nov. de 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....

Respuestas (1)

Chetan Bhavsar
Chetan Bhavsar el 25 de Nov. de 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)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by