Documentation |
plotResponse(H,FREQ,V)
plotResponse(H,FREQ,V,Name,Value)
hPlot = plotResponse(___)
plotResponse(H,FREQ,V) plots the array response pattern along the azimuth cut, where the elevation angle is 0. The operating frequency is specified in FREQ. The propagation speed is specified in V.
plotResponse(H,FREQ,V,Name,Value) plots the array response with additional options specified by one or more Name,Value pair arguments.
hPlot = plotResponse(___) returns handles of the lines or surface in the figure window, using any of the input arguments in the previous syntaxes.
Specify optional comma-separated pairs of Name,Value arguments. Name is the argument name and Value is the corresponding value. Name must appear inside single quotes (' '). You can specify several name and value pair arguments in any order as Name1,Value1,...,NameN,ValueN.
'CutAngle' |
Cut angle specified as a scalar. This argument is applicable only when RespCut is 'Az' or 'El'. If RespCut is 'Az', CutAngle must be between –90 and 90. If RespCut is 'El', CutAngle must be between –180 and 180. Default: 0 | |||||||||||
'Format' |
Format of the plot, using one of 'Line', 'Polar', or 'UV'. If you set Format to 'UV', FREQ must be a scalar. Default: 'Line' | |||||||||||
'NormalizeResponse' |
Set this value to true to normalize the response pattern. Set this value to false to plot the response pattern without normalizing it. This parameter is not applicable when you set the Unit parameter value to 'dbi'. Default: true | |||||||||||
'OverlayFreq' |
Set this value to true to overlay pattern cuts in a 2-D line plot. Set this value to false to plot pattern cuts against frequency in a 3-D waterfall plot. If this value is false, then FREQ must be a vector with at least two entries. This parameter applies only when Format is not 'Polar' and RespCut is not '3D'. Default: true | |||||||||||
'Polarization' |
Specify the polarization options for plotting the array response pattern. The allowable values are |'None' | 'Combined' | 'H' | 'V' | where:
For arrays that do not support polarization, the only allowed value is 'None'. This parameter is not applicable when you set the Unit parameter value to 'dbi'. Default: 'None' | |||||||||||
'RespCut' |
Cut of the response. Valid values depend on Format, as follows:
If you set RespCut to '3D', FREQ must be a scalar. | |||||||||||
'SteerAng' |
Subarray steering angle. SteerAng can be either a 2-element column vector or a scalar. If SteerAng is a 2-element column vector, it has the form [azimuth; elevation]. The azimuth angle must be between –180 and 180 degrees, inclusive. The elevation angle must be between –90 and 90 degrees, inclusive. If SteerAng is a scalar, it specifies the azimuth angle. In this case, the elevation angle is assumed to be 0. This option is applicable only if the SubarraySteering property of H is 'Phase' or 'Time'. Default: [0;0] | |||||||||||
'Unit' |
The unit of the plot. Valid values are 'db', 'mag', 'pow', or 'dbi'. This parameter determines the type of plot that is produced.
Default: 'db' | |||||||||||
'Weights' |
Weight values applied to the array, specified as a length-N column vector or N-by-M matrix. The dimension N is the number of subarrays in the array. The interpretation of M depends upon whether the input argument FREQ is a scalar or row vector.
| |||||||||||
'AzimuthAngles' |
Azimuth angles for plotting subarray response, specified as a row vector. The AzimuthAngles parameter sets the display range and resolution of azimuth angles for visualizing the radiation pattern. This parameter is allowed only when the RespCut parameter is set to 'Az' or '3D' and the Format parameter is set to 'Line' or 'Polar'. The values of azimuth angles should lie between –180° and 180° and must be in nondecreasing order. When you set the RespCut parameter to '3D', you can set the AzimuthAngles and ElevationAngles parameters simultaneously. Default: [-180:180] | |||||||||||
'ElevationAngles' |
Elevation angles for plotting subarray response, specified as a row vector. The ElevationAngles parameter sets the display range and resolution of elevation angles for visualizing the radiation pattern. This parameter is allowed only when the RespCut parameter is set to 'El' or '3D' and the Format parameter is set to 'Line' or 'Polar'. The values of elevation angles should lie between –90° and 90° and must be in nondecreasing order. When you set the RespCut parameter to '3D', you can set the ElevationAngles and AzimuthAngles parameters simultaneously. Default: [-90:90] | |||||||||||
'UGrid' |
U coordinate values for plotting subarray response, specified as a row vector. The UGrid parameter sets the display range and resolution of the U coordinates for visualizing the radiation pattern in U/V space. This parameter is allowed only when the Format parameter is set to 'UV' and the RespCut parameter is set to 'U' or '3D'. The values of UGrid should be between –1 and 1 and should be specified in nondecreasing order. You can set the UGrid and VGrid parameters simultaneously. Default: [-1:0.01:1] | |||||||||||
'VGrid' |
V coordinate values for plotting subarray response, specified as a row vector. The VGrid parameter sets the display range and resolution of the V coordinates for visualizing the radiation pattern in U/V space. This parameter is allowed only when the Format parameter is set to 'UV' and the RespCut parameter is set to '3D'. The values of VGrid should be between –1 and 1 and should be specified in nondecreasing order. You can set the VGrid and UGrid parameters simultaneously. Default: [-1:0.01:1] |