@sym
Return a matrix whose elements are all 1.
Example:
y = ones (sym(3)) ⇒ y = (sym 3×3 matrix) ⎡1 1 1⎤ ⎢ ⎥ ⎢1 1 1⎥ ⎢ ⎥ ⎣1 1 1⎦
See also: ones, @sym/zeros, @sym/eye.
Package: symbolic