zeros: Create a matrix of zeros.

Description Usage Arguments Value See Also Examples

View source: R/zeros.R

Description

Create a matrix of zeros of size (dim1 x dim2).

Usage

1
zeros(dim1, dim2 = NULL)

Arguments

dim1

The dimension of the matrix (if square) or the number of rows.

dim2

The number of columns

Value

A matrix of zeros.

See Also

Other MATLAB: cell(), diag_matlab(), feval(), fileparts(), isempty(), ones(), randn(), rand(), size(), tic(), toc()

Examples

1
2
3
4
zeros(3)
zeros(0,3)
zeros(4,7)
zeros(1,4)

PopED documentation built on May 21, 2021, 5:08 p.m.