Matthen

Directional Mics

Nov 16th, 2012
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. Manipulate[
  2. Show[{
  3. Table[PolarPlot[
  4. {
  5. 2 r Abs[a (1 + Cos[\[Theta]])],
  6. 2 r Abs[(1 - a) (1 + Cos[\[Theta] + Pi])],
  7. 2 r Abs[a (1 + Cos[\[Theta]])] +
  8. 2 r Abs[(1 - a) (1 + Cos[\[Theta] + Pi])]
  9.  
  10. }
  11. , {\[Theta], 0, 2 Pi}, Axes -> None, PlotRange -> 0.5,
  12. PlotStyle -> {Directive[Opacity[1 - r], Red],
  13. Directive[Opacity[1 - r], Blue],
  14. Directive[Thick, Opacity[1 - r], Purple]}], {r, 0, 1, 0.1}]
  15. ,
  16. Graphics[{
  17.  
  18. }]
  19. }
  20. ]
  21. , {a, 0, 1}]
Advertisement
Add Comment
Please, Sign In to add comment