Interpolating Phased Array Toolbox patterns
Show older comments
I have an antenna modeled in Phased Array Toolbox, and after updating its steering I'm using the pattern() function to store the AZ/EL directivity pattern (just forward hemisphere). I want to then in another chunk of code interpolate the gain to a (large) number of grid points where in a loop over each I'm calculating the observed AZ/EL. I figure a griddedInterpolant object is what I should build which I can then query a bunch of times. However, the X1,X2 ordering for interpolation has the legacy of meshgrid/ndgrid where some dimensions are transposed. The EL and AZ arrays are both 1x181 elements which helps add to the confusion (so the pattern is 181x181). What's the best formulation, or what is the most efficient way to store/retrieve/interpolate a computed pattern?
Accepted Answer
More Answers (1)
George
on 10 Jun 2024
1 vote
Another thing to consider is that pattern also accepts optional azimuth and elevation angle input arguments:
So you could just pass more azimuth and elevation sample points instead of using the default azimuth and elevation values and interpolating.
1 Comment
Martin Ryba
on 10 Jun 2024
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!