How to Draw between specific points

조회 수: 1 (최근 30일)
Manora Mony
Manora Mony 2021년 11월 25일
답변: Chetan Bhavsar 2021년 11월 25일
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....

답변 (1개)

Chetan Bhavsar
Chetan Bhavsar 2021년 11월 25일
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)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by