The running time of the pattern command increases with frequency
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
When using the pattern function to obtain PAT, the [PAT, AZ-ANG, EL-ANG]=pattern (array, freq) statement will significantly increase its runtime with increasing frequency. When the frequency is 1e9 and 2e9, its runtime is 4 seconds and 21 seconds, respectively. Is there any optimization method to shorten the runtime? Why does the higher the frequency, the longer the running time, and even the error of insufficient memory occur?
note:pattern(Beam pattern NR rectangular panel array) in phased array system toolbox
1 commentaire
Umeshraja
le 3 Sep 2024
As I am not able to reproduce this situation, Please provide more details to debug
Réponses (1)
Arnav
le 9 Sep 2024
Hi,
The pattern function is expected to execute longer for larger frequencies and larger rectangular arrays. This is because the response of the antenna when considering larger frequencies varies quite fast, hence requiring a finer resolution to accurately capture the rapid variations in the electromagnetic field distribution. You can speed up the pattern function (at the expense of accuracy) by
- Specifying a coarser resolution for azimuth and elevation angles.
[PAT, AZ_ANG, EL_ANG] = pattern(array, freq, -180:10:180, -90:10:90);
- Trying to approximate the pattern using a smaller rectangular array.
array = phased.URA('Size', [10, 10], 'ElementSpacing', [0.5, 0.5]); % Moderate size array
You can read more about the modelling of array radiation patterns here:
0 commentaires
Voir également
Catégories
En savoir plus sur Array Geometries and Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!