MATLAB Answers

Output file for E and H fields of a figure?

5 views (last 30 days)
Snate
Snate on 14 Apr 2021
Answered: Sandip Ghosal on 5 May 2021
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?

Answers (1)

Sandip Ghosal
Sandip Ghosal on 5 May 2021
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:
Thanks,
Sandip

Community Treasure Hunt

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

Start Hunting!