Download this file

5 lines (3 with data), 66 Bytes

1
2
3
4
5
function out = minusPi2Pi(in)
out = atan2(sin(in), cos(in));
end