yangliuav / Multi-target-tracking-based-on-RFS--PHD-filter-and-Particle-flow

15 stars 3 forks source link

索引超出 #6

Open PaulWU1996 opened 4 years ago

PaulWU1996 commented 4 years ago

Index in position 4 exceeds array bounds (must not exceed 1).

Error in NPF_homotopy_PHDV2 (line 51)

PaulWU1996 commented 4 years ago

line 51 interp2(h2(:,:,2,2),vgset(ii).xp(2),vgset(ii).xp(1)) line 52 setup.Ac.likeparams 这两处超出

PaulWU1996 commented 4 years ago

具体问题出现在向量h2上, h2(:,:,1,2)中的position 4, 超出了1, 向量中出现了2; h2 是源于setup.inp.H, 定义为 inp.H = [1,0,0,0;0,1,0,0]' h2 此处的position 4 是为了控制什么嘛?

yangliuav commented 3 years ago

这块版本可能不对,造成的 slope 就是 每次移动的距离。对应 http://epubs.surrey.ac.uk/852506/1/LiuKGW_TMM_2019_postprint.pdf Eq 11,12,21,22

PaulWU1996 commented 3 years ago

这块版本可能不对,造成的 slope 就是 每次移动的距离。对应 http://epubs.surrey.ac.uk/852506/1/LiuKGW_TMM_2019_postprint.pdf Eq 11,12,21,22

重新读了一遍代码和论文,确定了不是论文算法问题,是对于变量h的取值问题,超出了变量h的定义范围