How can i plot the graph of b versus a?

10 ビュー (過去 30 日間)
Deepak d
Deepak d 2018 年 5 月 12 日
コメント済み: Rik 2018 年 5 月 17 日
a=-pi:2*pi/30:pi
b=pi/a^2
  1 件のコメント
Rik
Rik 2018 年 5 月 17 日
You should really consider learning the tool before you start using it. One of the many free online Matlab tutorials can be found here.

サインインしてコメントする。

回答 (1 件)

Von Duesenberg
Von Duesenberg 2018 年 5 月 12 日
Is this what you had in mind?
a=-pi:2*pi/30:pi;
b=pi./a.^2;
plot(b,a) %or plot(a,b)

カテゴリ

Help Center および File Exchange2-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