Pattern function has the option to plot 'phase', by indicating the input argument : 'Type','phase' .
It is required to provide Polarization.
However, i get the error:
Error in phased.internal.AbstractArray/pattern (line 174)
[fc,c,plotArgs] = phased.internal.parsePatternInputs(...
Error in Panel_array_16 (line 267)
pattern(A3,fc,-179:1:179,0,'Polarization','V','Type','phase','Normalize',false,'CoordinateSystem','rectangular')

 Accepted Answer

Honglei Chen
Honglei Chen on 19 May 2020
Looks like you are using Phased Array System Toolbox and it currently doesn't support 'phase' as a type. We will try to address this. For the time being, you can use phased.ArrayResponse to get phase response and then plot it.
HTH

4 Comments

Coincidentally, I am having the same problem and attempted to solve it using the same 'phase' option as anove. This came from the documentation here:
where 'phase' is an option under 'type'. Is this a documentation error, or is there a way to plot phase? I have polarization set to on, and have an antenna element with polarization specified.
Thanks
The reference page you are referring to is from Antenna Toolbox so the pattern() in Phased Array System Toolbox does not have that option yet. We will try to enable it as soon as possible but meanwhile the ArrayResponse is probably the best option. If you encounter any issue using that, please let me know. Thanks.
Hi,
I'm having the same problem. Could you please tell me how to use the ArrayResponse to plot the the phase? Thank you.
Hi!
The phase type still doesn't seem to be available in Phased Array System Toolbox. I would like to check the phase pattern of a single antenna, but phased.ArrayResponse only accepts arrays, and not single antennas.

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!