Effacer les filtres
Effacer les filtres

Plot radiating eletric field from isotropic antenna

3 vues (au cours des 30 derniers jours)
Rui Paiva
Rui Paiva le 21 Nov 2019
Modifié(e) : Taru le 7 Oct 2022
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?

Réponses (1)

Taru
Taru le 6 Oct 2022
Modifié(e) : Taru le 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!

Translated by