Cassegrain Antenna Design Errors
Show older comments
I'm trying to run the attached code for a Cassegrain antenna, changing the frequency from 18 GHz to the GPS frequencies 1575.42 MHz and 1227.6 MHz. I changed the frequencies and the following errors came up: "Error in em.MeshGeometry/updateMesh, Error in em.MeshGeometry/getMesh, and Error in em.EmStructures/analyze". Can you help resolve the errors?
Rp=0.3175;
fp=0.2536;
Rsub=0.033;
fhyp=0.1416;
ant=cassegrain('Radius',[Rp Rsub],'FocalLength',[fp fhyp]);
show(ant);
Exciter=design(hornConical,17.7e9);
Exciter.FeedWidth=3.4e-3;
Exciter.Tilt=270;
Exciter.TiltAxis=[0 1 0];
show(Exciter);
ant=reflectorParabolic('Radius',0.3175);
ant.Exciter=design(hornConical,17.7e9);
ant.Exciter.Tilt=90;
figure;
pattern(ant,18e9);
ant=cassegrain;
s=sparameters(ant,linspace(18e9,18.8e9,25));
figure;rfplot(s);
figure;
impedance(ant,linspace(18e9,18.8e9,25));
current(ant,18e9,'scale','log10');
Exciter=design(horn,16.2e9);
Exciter.Tilt=270;
Exciter.TiltAxis=[0 1 0];
ant.Exciter=Exciter;
show(ant);
figure;
pattern(ant,18e9);
4 Comments
Walter Roberson
on 6 Jan 2025
I ran the above code in R2025a (pre-release). It took a while, but it ran without error.
James Manns
on 6 Jan 2025
Walter Roberson
on 6 Jan 2025
I have not worked with Antenna toolbox before, so I am not sure what changes you are looking for.
When I try
pattern(ant, 1575.42e6)
pattern(ant, 1227.6e6)
or
s=sparameters(ant,linspace(1200e6, 1600e6,25));
or
impedance(ant,linspace(1200e6, 1600e6,25))
everything looks plausible when I test in R2023a.
James Manns
on 7 Jan 2025
Accepted Answer
More Answers (0)
Categories
Find more on Title 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!

