www.gusucode.com > phased 案例源码 matlab代码程序 > phased/PolarizationEllipseExample.m

    %% Polarization Ellipse  
% Draw the figure of an elliptically polarized field. Begin with an elliptically
% polarized input field (the horizontal and vertical components differ in
% magnitude and in phase) and choose the phase difference to be 60 degrees.   

% Copyright 2015 The MathWorks, Inc.


%%  
fv = [2*exp(-i*pi/3);1];
polellip(fv) 

%%
% The rotation sense is |'Left Elliptical'| as shown by the direction of
% the arrow on the ellipse. The filled circle at the origin indicates that
% the observer is looking towards the source of the field.