Matrix of ones
Square matrix of ones
ones(n)
n
A matrix of ones of order n.
Jose Luis Vicente Villardon
ones(6)
Useful links