JPDA-based MATLAB code