FUNCTION REFERENCE

mustBeNonzero

Validate that value is nonzero.

Validate that value is nonzero.

Syntax

mustBeNonzero(A)

Throws an error if any element of A is zero.

Example

mustBeNonzero([1 -2])

Differences from MATLAB: None.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.