MATLAB Answers

Output file for E and H fields of a figure?

조회 수: 4(최근 30일)
Snate 2021년 4월 14일
답변: Sandip Ghosal 2021년 5월 5일
I created a simple model for a dipole antenna and used the EHfields function to create a figure that shows the vectors for the 2 fields.
The output for the e and h variables are placed in 3 rows with up to 800 columns. Do the 3 rows represent x, y, z in decending order?
Also is there a way to change the output of the model to polar coordinates instead of cartesian?
Lastly, is there documentation on how the E and H fields are calculated for dipole antennas/other antennas?


Sandip Ghosal
Sandip Ghosal 2021년 5월 5일
Hi Snate,
Each 3 rows in both E and H represent X-, Y- and Z-componets of the electric and magnetic fields, respectively.
There is no way of giving polar coordinates as input directly to EHfields function. But user can use function cart2sph for converting position vector(\s) from rectangular co-ordinate to spherical co-ordinate.
E and H fields are computed using standard MoM formulation with RWG basis functions or other numerical techniques like MoM-PO/FMM/Wire solver. Please check the following doc page for further info:

Community Treasure Hunt

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

Start Hunting!

Translated by