The running time of the pattern command increases with frequency
1 view (last 30 days)
Show older comments
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 Comment
Umeshraja
on 3 Sep 2024
As I am not able to reproduce this situation, Please provide more details to debug
Answers (1)
Arnav
on 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 Comments
See Also
Categories
Find more on Array Geometries and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!