powered by
Generates a square or rectangular matrix of zeros or ones
zeros_or_ones(n, x)
n-by-n matrix filled with x
x
scalar or 2D vector
value to fill matrix with
This is a wrapper function to replicate the behavior of the zeros() and the ones() functions on Matlab
zeros()
ones()