the function "helperPlotPositionError"
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I practice doing an example of radar simulation. During the implementation, I encountered the following error: "Index in position 2 exceeds array bounds. Index must not exceed 1".
The above error occurs when I use the function "helperPlotPositionError". The specific structure is as follows:
helperPlotPositionError(tgtPosTruth(:,:,1),time,tgtPosObs(:,firstTgtDet),detTime(firstTgtDet),scene.SimulationTime);
This is an example on the matlab website.
Can anyone help me answer, why is the above error and how to fix it?
Thank you
2 Kommentare
Walter Roberson
am 9 Apr. 2025
It sounds as if firstTgtDet exceeds 1 but tgtPosObs is something-by-1
Antworten (0)
Siehe auch
Kategorien
Mehr zu Detection finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!