Ones Vector

Share:

Description

Make a column vector of ones.

Usage

1
ones(n)

Arguments

n

how many ones

Value

a column vector of ones as an integer matrix

Examples

1
2
ones(5)
str(ones(5))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.