Main Content

miss

Update track logic with miss

Description

miss(historyLogic) updates the track history with a miss.

example

miss(scoreLogic) updates the track score in a case of a miss, using default probabilities of detection and false alarm.

miss(scoreLogic,pd,pfa) updates the track score in a case of a miss, specifying the probability of detection pd and probability of false alarm pfa.

example

Examples

collapse all

Create a history-based logic with the default confirmation and deletion thresholds.

historyLogic = trackHistoryLogic;

Initialize the logic, which records a hit as the first update to the logic. The first element of the 'History' property, which indicates the most recent update, is 1.

init(historyLogic)
history = historyLogic.History;
disp(['History: [',num2str(history),'].']);
History: [1  0  0  0  0  0].

Update the logic with a miss. The first element of the 'History' property is 0.

miss(historyLogic)
history = historyLogic.History;
disp(['History: [',num2str(history),'].']);
History: [0  1  0  0  0  0].

Create a score-based logic with default confirmation and deletion thresholds.

scoreLogic = trackScoreLogic;

Specify the probability of detection (pd), the probability of false alarm (pfa), the volume of a sensor detection bin (volume), and the new target rate in a unit volume (beta).

pd = 0.9;
pfa = 1e-6;
volume = 1.3;
beta = 0.1;

Initialize the logic using these parameters. The first update to the logic is a hit.

init(scoreLogic,volume,beta,pd,pfa);
disp(['Score and MaxScore: ', num2str(output(scoreLogic))]);
Score and MaxScore: 11.6699      11.6699

Update the logic with a miss. The current score decreases, but the maximum score does not change.

miss(scoreLogic,pd,pfa)
disp(['Score and MaxScore: ', num2str(output(scoreLogic))])
Score and MaxScore: 9.36735      11.6699

Input Arguments

collapse all

Track history logic, specified as a trackHistoryLogic object.

Track score logic, specified as a trackScoreLogic object.

Probability of detection, specified as a nonnegative scalar.

Data Types: single | double

Probability of false alarm, specified as a nonnegative scalar.

Data Types: single | double

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Version History

Introduced in R2018b