MATLAB Draw Thomson cross section in polar plot by matlab

AI Thread Summary
The discussion centers on creating a Thomson cross-section polar plot using MATLAB. The user shares their MATLAB code, which includes defining a range for the variable t, setting a constant r, and calculating x for the polar plot. They seek confirmation on whether the resulting figure is indeed a polar plot and inquire if they have posted their question in the appropriate forum. The focus is on verifying the correctness of the MATLAB code and the output visualization.
Lisa!
Gold Member
Messages
650
Reaction score
99
Well I'm supposed to draw Thomson cross section in polar plot by MATLAB software. Have I done it right? I mean does this figure that I got seem to be in polar plot or not?

Code:
t = 0:.01:2*pi;
r =  2.8179e-13
x =  t,0.5*power(r,2)*(1+power(cos(t),2))
polar(t,x)
Thanks
 

Attachments

  • plr1.jpg
    plr1.jpg
    32.1 KB · Views: 672
  • th1.jpg
    th1.jpg
    18.2 KB · Views: 486
Physics news on Phys.org


Have I posted it in the right place?
 

Similar threads

Replies
8
Views
2K
Replies
4
Views
2K
Replies
1
Views
2K
Replies
2
Views
3K
Replies
1
Views
2K
Replies
1
Views
2K
Back
Top