un_out>[r,&nbsp;c]&nbsp;</span>=&nbsp;<span class=defun_name>index</span>(<span class=defun_in>&nbsp;x&nbsp;</span>)<br>
r&nbsp;=&nbsp;min(&nbsp;floor(&nbsp;x(2)&nbsp;*&nbsp;10&nbsp;)&nbsp;+&nbsp;1,&nbsp;5&nbsp;);<br>
c&nbsp;=&nbsp;min(&nbsp;floor(&nbsp;x(1)&nbsp;*&nbsp;10&nbsp;)&nbsp;+&nbsp;1,&nbsp;10&nbsp;);<br>
</code>
