title: Mod operator to scan through table entries
body: <p>Is there any built-in Matlab function, let's call it <strong>modd</strong>, that works like the <strong>mod</strong> function but returns x for <strong>modd</strong>(x,x) (unlike <strong>mod</strong>(x,x) which returns 0).</p>