Array Pattern Synthesis: is first plot not correct?

1 次查看(过去 30 天)
In the ArraySynthesisExample.m example code, the first plot only plots at -90:90 degrees.
I have tried adding the 'AzimuthAngles' property in the plotResponse() function, but it does not work. Why does the example only show from -90 to +90 degrees? I can make it show from -50 to +50 degrees, for example, but not anything larger than -90 to +90.
The code states that the default is -180:180 for the Azimuth Angles, yet it only plots -90:90. Why is this?
Here is an example that does not work, i.e. it still only displays from -90 to +90 degrees:
plotResponse(myULA,fc,c,'Weights',w,'AzimuthAngles',-120:120);

采纳的回答

Honglei Chen
Honglei Chen 2015-11-13
Hi Chris,
This is because in setting up the antennas, the example used a very crude way to remove the response at the back by setting the BackBaffled to true. Therefore, there is really no response beyond -90 to 90 degrees. MATLAB plot is smart enough to know that there is really nothing to plot beyond that region. The polar plot probably shows is more clearly
plotResponse(myULA,fc,c,'Format','polar','Weights',w,'AzimuthAngles',-120:120);
HTH
  1 个评论
Chris
Chris 2015-11-13
Ok, thank you. This makes sense.
It also works as I would expect when I set the BackBaffled property to 'false'.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Array Geometries and Analysis 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by