Create array of all ones with fixed-point properties

`X = ones('like',`

returns
a scalar `p`

)`1`

with the same `numerictype`

,
complexity (real or complex), and `fimath`

as `p`

.

`X = ones(`

returns
an `sz1,...,szN`

,'like',`p`

)`sz1`

-by-...-by-`szN`

array of
ones like `p`

.

Was this topic helpful?