ineno">    2</span>&#160;</div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;if ~isvector(x) || ~islogical(x)</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;    error(&#39;Input must be a logical vector.&#39;);</div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;end</div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;</div><div class="line"><a name="l00007"></a><span class="linen