How can i plot the graph of b versus a?

조회 수: 14(최근 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)

범주

Find more on 2-D and 3-D Plots in Help Center and File Exchange

태그

Community Treasure Hunt

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

Start Hunting!

Translated by