title: How to invoke short-circuit logical operators in MATLAB as a function?
body: <p>MATLAB operators usually translate into a function form as in the following examples:</p>
  
  <ul>
  <li><code>~A</code> => <code>not(A)</code></li>
  <li><code>A + B</code> => <code>plus(A,B)</code></li>
  <li><code>A(...)</code> => <code>subsref(...)</code></li>
  <li><code>A(...) = ...</code> => <code>subsasgn(...)</code></li>
  <li>etc.</li>
  </ul>
  
  <p>Now please consider the operators <a href="http://www.mathworks.com/help/matlab/ref/logicaloperatorsshortcircuit.html" rel="nofollow"><code>&amp;&amp;</code> and <code>||</code></a>.</p>
  
  <p>The various documentation (1-<a href="http://www.mathworks.com/help/matlab/ref/or.html" rel="nofollow">doc for or</a>, 2-<a href="http://www.mathworks.com/help/matlab/ref/and.html" rel="nofollow">doc for and</a>, 3-<a href="https://www.mathworks.com/help/pdf_doc/matlab/matlab_prog.pdf" rel="nofollow">the MATLAB Programming Fundamentals ebook</a>), does not shed any light on this, and nor do <code>help and</code>, <code>help or</code>, <code>help relop</code>. 
  This also didn't help: <code>profile('on','-detail','builtin')</code>.</p>
  
  <p>What I can say is that <code>|</code> seems to be redirected to <code>or()</code> judging by the following example:</p>
  
  <pre><code>&gt;&gt; 1 || [0,0]    
  ans =    
       1
  
  &gt;&gt; 1 | [0,0]    
  ans =    
       1     1
  
  &gt;&gt; or(1,[0,0])    
  ans =    
       1     1
  
  &gt;&gt; 1 &amp;&amp; [0,0]
  Operands to the || and &amp;&amp; operators must be convertible to logical scalar values.
  </code></pre>
  
  <p><strong>So my question is: assuming it's possible - how can one explicitly call the underlying function of <code>&amp;&amp;</code> and <code>||</code>?</strong></p>
  
  <p>(<em>note: this question deals with the aspect of "how", not "why")</em></p>