Clear Filters
Clear Filters

Array Pattern Synthesis: is first plot not correct?

3 views (last 30 days)
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);

Accepted Answer

Honglei Chen
Honglei Chen on 13 Nov 2015
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 Comment
Chris
Chris on 13 Nov 2015
Ok, thank you. This makes sense.
It also works as I would expect when I set the BackBaffled property to 'false'.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!