Error Line: xir{num_imgs}(1,:) = x_i_r(results(2,:),1)./tc;
I guess the error is in x_i_r(results(2,:),1)
details:
xir is 1*10 cell
x_i_r is 2048*2 single matrix
results is 2*2048 uint32 matrix
tc=1024
through the help pages I referred I understand that the mismatch in matrix dimensions causes above error but I could't solve above error. Please suggest a probable solution for the same. THe exact dimensions that must be followed.