Code covered by the BSD License  

Highlights from
Phased Array Design Toolbox v2.4.2

image thumbnail

Phased Array Design Toolbox v2.4.2

by

 

10 Feb 2009 (Updated )

A toolbox allowing rapid definition and evaluation of 2D and 3D phased array antennas.

ZR=rotz(angle)
function ZR=rotz(angle)
% Returns rotation matrix for rotation about Z-axis
%
% Usage: ZR=rotz(angle)
%
% angle....Rotation angle (radians)
%
% e.g. ZR=rotz(pi/2) % +ve Rotation of 90 Deg around the Z-axis
%
% Positive rotation is defined as clockwise as looking from the
% end of the Z-axis towards the origin.

ZR=[ cos(angle)   sin(angle) 0    
    -sin(angle)   cos(angle) 0
         0             0     1];

Contact us