Photonics

Photonics

Topics related to Lumerical and more.

How to plot the angular farfield in matlab of a mode calculated by fde?

    • YONGQIAN TANG
      Subscriber

      Hello,

      I simulated a mode  in FDE solver, and calculated the angular farfield of this mode, and then exported it to a .mat file, as the figure show.

       

       

       

       

       Now i want to plot the farfield data in polar coordinate in  matalb, but  don't now  the code.

      Are there any  pages or codes i can learn?

      Thanks!

    • Amrita Pati
      Ansys Employee

      Hi Yongqian,

      Unfortunately, we do not provide support matlab functions. But I believe in MATLAB you would most likely use the surf function to plot something similar. The following links might be helpful: 1. Plotting a Colored Surface in 2D. 2.Polar plotting. I would recommend you to post your question in mathworks community.

      Regards,
      Amrita

      • YONGQIAN TANG
        Subscriber

        Thanks a lot!

Viewing 1 reply thread
  • The topic ‘How to plot the angular farfield in matlab of a mode calculated by fde?’ is closed to new replies.