The running time of the pattern command increases with frequency
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
Umeshraja
2024-9-3
As I am not able to reproduce this situation, Please provide more details to debug
回答(1 个)
Arnav
2024-9-9
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Array Geometries and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!