David
Farruggio

MathGenie

zeros

Create array of all zeros

Syntax and Description

zeros returns the scalar 0.
zeros() returns the scalar 0.
zeros(n) returns an n-by-n matrix of zeros.
zeros(m,n) returns an m-by-n matrix of zeros.
zeros([m,n]) returns an m-by-n matrix of zeros.

Back to functions