zeros: Matrix of zeros

View source: R/zeros_ones.R

zerosR Documentation

Matrix of zeros

Description

wrapper of zeros_or_ones() that replicates the behavior of the zeros() function on Matlab

Usage

zeros(n1, n2 = n1, ...)

Arguments

n1

number of rows

n2

number of columns

...

extra dimensions

Value

An n1-by-n2 matrix of zeros

Examples

zeros(5)
zeros(5, 3)

matlab2r documentation built on Feb. 16, 2023, 10:39 p.m.

Related to zeros in matlab2r...