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 Center および File ExchangeScatter Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by