te that elements are queried using multi-dimensional subscript notation, as opposed to linear.</p><pre class="codeinput">S.lambda <span class="comment">%&lt;-- The weight vector</span>
S.X <span class="comment">%&lt;-- The factor matrix</span>

S(1,2,1) <span class="comment">%&lt;-- Generate the element of index (1,2,1) from the factorization</span>
</pre><pre class="codeoutput">ans =
     1
    -1
ans =
     1     5
     2     6
     3     7
     4     8
ans =
  -148
</pre><h2 id="20">Subscripted assignmen