Plot radiating eletric field from isotropic antenna

3 views (last 30 days)
I want to plot somehting like this. In the vertical axis is height and in the horizontal is distance. Color bar is in dB. How can I do this?

Answers (1)

Taru
Taru on 6 Oct 2022
Edited: Taru on 7 Oct 2022
Hi,
I understand that you are looking out for the function to plot such graphs. 'contourf' function would do the trick for you to plot the above graph along with the colorbar. Simply, make a 2D matrix with values of the electric field corresponding to the respective height and distance parameters and feed it to the contourf function.
Follow this link to get to the demonstration.

Community Treasure Hunt

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

Start Hunting!