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.

excite_element(elnumber,Pwr,Pha)
function excite_element(elnumber,Pwr,Pha)
% Set element phase and Amplitude
%
% Usage: excite_element(elnumber,Pwr,Pha)
%
% elnumber..Element number
% Pwr.......Pwr (volts^2 in dB)
% Pha.......Phase (Deg)
%
% e.g. excite_element(1,-10,90)

global array_config;

Amplitude=10^(Pwr/20);       % Set amplitude in linear volts
Phase=Pha/180*pi;            % Set phase in radians

array_config(1,5,elnumber)=Amplitude;
array_config(2,5,elnumber)=Phase;

fprintf('Element %i excitation : %3.2f dB   %3.2f Deg\n',elnumber,Pwr,Pha);

Contact us