Plot radiating eletric field from isotropic antenna

3 次查看(过去 30 天)
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?

回答(1 个)

Taru
Taru 2022-10-6
编辑:Taru 2022-10-7
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!

Translated by