i><li><a href="#7">Subset Assignment and Reference</a></li><li><a href="#10">Creating More Complex Operators</a></li></ul></div><h2>Creating Operators<a name="1"></a></h2><p>Create a new operator using the constructor from the appropriate operator class. For example, to make an operator A that consists of all ones, with three rows and two columns, use the <a href="matlab:doc('opOnes')">opOnes</a> class:</p><pre class="codeinput">A = opOnes(3,2)
</pre><pre class="codeoutput">A = 
  Spot operator: Ones(3,2)
 