Interpolating Phased Array Toolbox patterns
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 1×181 elements which helps add to the confusion (so the pattern is 181×181). What’s the best formulation, or what is the most efficient way to store/retrieve/interpolate a computed pattern?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 1×181 elements which helps add to the confusion (so the pattern is 181×181). What’s the best formulation, or what is the most efficient way to store/retrieve/interpolate a computed pattern? 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 1×181 elements which helps add to the confusion (so the pattern is 181×181). What’s the best formulation, or what is the most efficient way to store/retrieve/interpolate a computed pattern? antenna pattern, interpolation MATLAB Answers — New Questions