www.gusucode.com > phased 案例源码 matlab代码程序 > phased/PatternUCAArrayInUVSpaceExample.m
%% Pattern of 10-Element UCA Antenna Array in UV Space % Create a 10-element UCA antenna array consisting of cosine antenna % elements. Display the 3-D power pattern in UV space. % Copyright 2015 The MathWorks, Inc. sCos = phased.CosineAntennaElement('FrequencyRange',[100e6 1e9],... 'CosinePower',[2.5,2.5]); sUCA = phased.UCA('NumElements',10,... 'Radius',1.5,... 'Element',sCos); c = physconst('LightSpeed'); fc = 500e6; pattern(sUCA,fc,[-1:.01:1],[-1:.01:1],... 'CoordinateSystem','uv',... 'Type','powerdb',... 'PropagationSpeed',c)