# false

Version:

Generates a logical array of zeros.

## Syntax

c = false(a)
c = false(a, b)
c = false(a, b, ...)
c = false(v)

## a

Number of rows for the Boolean array. a is a non-negative integer. If a is zero, the function returns an empty array.

## b

Number of columns for the Boolean array. b is a non-negative integer. If b is zero, the function returns an empty array.

## ...

Further parameters for specifying the number of elements in higher dimensions. You can replace one parameter for any dimension with an empty array, for example, reshapemx([1,2,3,4,5,6], 2, []). The array then is a placeholder for an unspecified size. MathScript uses the array size and the reshape size to calculate the unspecified size automatically.

## v

Vector with number of rows, columns, and further dimensions. The elements of v are non-negative integers.

## c

Array of Boolean zeros of any dimensions. If you only specify a, c returns a square matrix of length a. If you specify a and b, a determines the number of rows and b determines the number of columns.

## Difference to the Zeros Function

The array created by false is different from the array of double-precision, floating-point numbers that zeros generates, because a logical array can hold values of 0 or 1 only.

C = false(3, 5)

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported