[TOC]

ones

Array of all ones

Usage

ones

ones(n)

ones(s1,s2,...,sn)

ones(sizeVec)