  ones
  Builtin Function



      SSyynnooppssiiss
        Create a matrix filled with ones.

      SSyynnttaaxx
        ones ( _M , _N )

        ones ( _A )

      DDeessccrriippttiioonn
        Create a matrix of ones. If the input is two scalars, then
        create a matrix of 1s with dimensions _Nx_M.

        If the input is a 2 element matrix, then create a matrix with
        row and column dimensions equal to _A[1] and _A[2] respectively.
        This is useful when used in conjunction with size():



                  ones( size( X ) )





     will return a matrix of ones the same size as X.


     SSeeee AAllssoo
        zeros
































