ones

Parent Previous Next

ones

y = ones ( n )
y = n.ones ( )

Create a non-audio array of all ones

arg

type

Description

Unit or Value scale

n

SCAL

Size of array to create


Outputs

  • y is an array of value one with size n

Notes

Examples

See Also

zeros

Created with the Personal Edition of HelpNDoc: Full-featured EBook editor