How to plot a curve with 3 points?
52 ビュー (過去 30 日間)
古いコメントを表示
x= [1.2 1.5 1.9];
y=[5.5e15 9.9e15 7.8e15];
I want to plot a graph like this using the 3 points .How can I do it?
2 件のコメント
Image Analyst
2022 年 1 月 28 日
Three points are enough to define a quadratic, but not a Rayleigh-like curve like you're showing. You need more, or else a formula.
採用された回答
Voss
2022 年 1 月 28 日
You can plot those three points and connect them with line segments using the plot() function:
x= [1.2 1.5 1.9];
y=[5.5e15 9.9e15 7.8e15];
plot(x,y)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Interpolation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!