- https://www.mathworks.com/help/phased/ref/phased.pattern_array.pattern.html
- https://www.mathworks.com/help/phased/ref/phased.ura-system-object.html#:~:text=Compute%20the%20directivity%20of%20two%20uniform%20rectangular%20arrays%20(URA).
Antenna Array Designer Out of Memory Issue
조회 수: 15 (최근 30일)
이전 댓글 표시
I am trying to desing a 4x4 array antenna with microstrip patch elements. Its resonant frequency must be 3.6GHz. But when i try to plot the pattern both in the script and in the antenna array designer app, it throws "Out of memory" error. How do I resolve this issue?
Here's the full error message:
Out of memory.
Error in em.EmStructures/momsolver
Error in em.EmStructures/analyze
Error in em.FieldAnalysisWithFeed/pattern (line 182)
analyze(obj,frequency,ElemNumber,parseobj.Results.Termination);
Error in project_1 (line 32)
pattern(patch_array,freq)
댓글 수: 0
답변 (1개)
ag
2024년 1월 8일
Hi Aysen,
I understand that you are trying to "rectangularArray" to design a 4x4 array antenna with microstrip patch elements, and are facing "Out of memory" error.
The "pattern" function requires a "Phased Array" as input.
I've modified your code a little, and replaced the "rectangularArray" with a "Phased URA(Uniform Rectangular Array)"
clc
clear
close all
freq = 3.6e9; %resonant frequency
c = physconst("lightspeed");
lambda = c/freq;
N = [4 4]; %array size
dx = 0.49*lambda; %row element spacing
dy = 0.49*lambda; %column element spacing
d = dielectric(Name="RO4350B", Thickness=0.00025,EpsilonR=3.66, ...
LossTangent=0.0031); %dielectric specification
m = metal("Copper");
pm = patchMicrostrip(Length=21.73e-3, Width=27.28e-3, ...
GroundPlaneLength=43.46e-3, GroundPlaneWidth=43.46e-3, ...
Substrate=d, FeedOffset=[-0.005 0], PatchCenterOffset=[0 0], ...
Conductor=m); %array element
patch_array = phased.URA; %patch_array = rectangularArray;
patch_array.Element = pm;
patch_array.Size = N;
patch_array.ElementSpacing= [dx, dy]; %patch_array.RowSpacing = dx;patch_array.ColumnSpacing = dy;
patch_array.Lattice = "Rectangular";
%hArray = figure;
%show(patch_array)
%axis tight
pattern3Dfig = figure; %array pattern
pattern(patch_array,freq)
Please refer to the following documentations for more details:
Hope this helps!
Best Regards,
Aryan Gupta
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with Antenna Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!