Ok. I found where to fix. I'll post my solution for others.
If you see the findcenter.m file, you can see that it uses calibrate.m function.
In the calibrate.m there are two places where 'lsqlin' is used (line 208, line 274).
In the link mythc posted, the easy workaround is to change the first matrix to sparse, which is PP in the code.
If you change PP to sparse(PP) then the function runs very fast.
2019년 4월 15일 월요일 오후 1시 48분 23초 UTC+9, Keunwoo Park 님의 말: