Warning: Integer operands are required for colon operator when used as index In test at 2

In main at 21

My code in test at 2===>>    ps = ((size(particles,2)-1)/2)-2;

My code In main at 21 ===>      pred(i,1) = test(net,x(i,:));

Thanks......

Similar questions and discussions