djadjok Thu, 08 Apr 2004 13:23:39 -0700
If you mean periodic on x, then adding before your calculations expression x=mod(x,15); can work (as this will make argument always wrap in [0,15) ).