The running time of the pattern command increases with frequency
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Umeshraja
el 3 de Sept. de 2024
As I am not able to reproduce this situation, Please provide more details to debug
Respuestas (1)
Arnav
el 9 de Sept. de 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 comentarios
Ver también
Categorías
Más información sobre Array Geometries and Analysis en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!