MATLAB: Array indices must be positive integers or logical values.

array indices;

Array indices must be positive integers or logical values.
Error in gsms (line 103)
z(1:totalbuses,4)=rad2deg(angle(V));
plz, anyone could help me with this kind of errror..

Best Answer

clear rad2deg angle