Plot radiating eletric field from isotropic antenna
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/249452/image.jpeg)
0 commentaires
Réponses (1)
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.
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!