MATLAB Answers

How can i plot the graph of b versus a?

5 views (last 30 days)
Deepak d
Deepak d on 12 May 2018
Commented: Rik on 17 May 2018
a=-pi:2*pi/30:pi
b=pi/a^2

  1 Comment

Rik
Rik on 17 May 2018
You should really consider learning the tool before you start using it. One of the many free online Matlab tutorials can be found here.

Sign in to comment.

Answers (1)

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

  0 Comments

Sign in to comment.

Tags