The running time of the pattern command increases with frequency

1 回表示 (過去 30 日間)
Lv
Lv 2024 年 1 月 22 日
回答済み: Arnav 2024 年 9 月 9 日
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
Umeshraja 2024 年 9 月 3 日
As I am not able to reproduce this situation, Please provide more details to debug

サインインしてコメントする。

回答 (1 件)

Arnav
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:

カテゴリ

Help Center および File ExchangeArray Geometries and Analysis についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by