How can i plot the graph of b versus a?

조회 수: 1 (최근 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 CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by