title: Is is possible to implement a user-defined operator in MATLAB?
body: <p>I am wondering if it is possible to create my own operators in MATLAB 2013a.</p>
  
  <p>As an example, say that I want to define a new operator <code>===</code> to check if <em>all</em> of the elements between two matrices are equal. In this case,</p>
  
  <pre><code>x = ones(10,1);
  y = ones(10,1);
  z = 2*ones(10,1);
  
  all(x==y) = 1
  x===y = 0
  
  all(z==y) = 0
  z===y =0
  </code></pre>
  
  <p>Would it be possible to implement something like this? If so, how can I go about it? </p>