Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JIPDA example didn't work #5

Open
ReyRizki opened this issue Apr 1, 2023 · 0 comments
Open

JIPDA example didn't work #5

ReyRizki opened this issue Apr 1, 2023 · 0 comments

Comments

@ReyRizki
Copy link

ReyRizki commented Apr 1, 2023

Hello, currently I am doing a research about JIPDA and want to use the code. However, when I try to run JIPDA example, I found the following error:

Unrecognized function or variable 'xk'.

Error in ConstantDetectionProbabilityX/pdf (line 84)
            a = find(inpolygon(xk(1,:),xk(3,:),x,y));

Error in MultiTargetMeasurementSimulatorX/simulate (line 79)
            detectionProbability = this.Model.Detection.pdf();

Error in example (line 34)
DataList = meas_simulator.simulate(GroundTruthStateSequence);

I also have examined pdf function in ConstantDetectionProbabilityX and found that the error is caused by xk is only defined when there is more than 1 argument.

if(nargin>1)
    xk = varargin{1};
    Ns = size(xk,2);
end

Is there any fix to this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant