% variance); PlotCrlb2DErrorEllipse([x(i,j) y(i,j)], Crlb2D_CovMatrix); hold on; end end

% External functions: ComputeCrlb2D_TDOA

%                     PlotCrlb2D_ErrorEllipse

%

% Last modified: 09.01.2018

%

% ————————————–

% Author:

%        
Institute:

%        
Country:

% ————————————–

 

% Calculate the variance for the TDOA
measurements s^2

variance=(stddev.*1e-9).^2;

 

% Convert from degrees to radians
angle=angle.*pi./180;

 

% Calculate the CRLB covariance matrix at
each given point

xx,i_max=size(radius);
xx,j_max=size(angle); for i=1:1:i_max

for j=1:1:j_max
x(i,j)=radius(i).*cos(angle(j)); y(i,j)=radius(i).*sin(angle(j));
emitter=x(i,j) y(i,j) 0;

Crlb2D_CovMatrix = ComputeCrlb2D_TDOA(sensor1,
sensor2, emitter, variance);

PlotCrlb2DErrorEllipse(x(i,j) y(i,j),
Crlb2D_CovMatrix);

hold on;

 

 

end

 

end

 

function PlotCrlb2D_ScanPhase(sensor1,
sensor2, stddev, radius, angle);

% Plot CRLB error ellipses

%

% PlotCrlb2D_ScanPhase(sensor1, sensor2,
stddev, radius, angle)

%

% Output parameters: none

%

% Input parameters: sensor1 – nx3 matrix
specifying n sensor1 xyz-position(s) m

%                   sensor2 – nx3 matrix
specifying n sensor2 xyz-position(s) m

%                   stddev  – Standard deviation deg for the Aperture
Angle

%                             measurements

%                   radius  – vector specifying at which radii m to
plot

%                             the error ellipse

%                   angle   – vector specifying at which angles deg to
plot

%                             the error ellipse

%

% Output files: none

%

% Input files: none

%

% External functions:
ComputeCrlb2D_ScanPhase

%                     PlotCrlb2D_ErrorEllipse

%

% Last modified: 09.01.2018

%

% ————————————–

% Author:

%        
Institute:

%        
Country:

% ————————————–

 

% Calculate the variance for the Aperture
Angle measurements rad^2

variance=(stddev.*pi./180).^2;

 

% Convert from degrees to radians
angle=angle.*pi./180;

 

% Calculate the CRLB covariance matrix at
each given point

xx,i_max=size(radius);
xx,j_max=size(angle); for i=1:1:i_max

for j=1:1:j_max
x(i,j)=radius(i).*cos(angle(j)); y(i,j)=radius(i).*sin(angle(j)); emitter=x(i,j)
y(i,j) 0;

Crlb2D_CovMatrix =
ComputeCrlb2D_ScanPhase(sensor1, sensor2, …

emitter, variance);
PlotCrlb2DErrorEllipse(x(i,j) y(i,j), Crlb2D_CovMatrix);

hold on;

 

end

 

end

 

function PlotCrlb2D_AOA(sensor, stddev,
radius, angle);

% Plot CRLB error ellipses

%

% PlotCrlb2D_AOA(sensor, stddev, radius,
angle)

%

% Output parameters: none

%

% Input parameters: sensor – nx3 matrix
specifying n sensor xyz-position(s) m

%                   stddev – Standard deviation
deg for the AOA measurements

%                   radius – vector specifying at
which radii m to plot

%                            the error ellipse

%                   angle  – vector specifying at which angles deg to
plot

%                            the error ellipse

%

% Output files: none

%

% Input files: none

%

% External functions: ComputeCrlb2D_AOA

%                     PlotCrlb2D_ErrorEllipse

%

% Last modified: 09.01.2018