symfalse

Symbolic logical false.

Category: Symbolic Computations in MATLAB > Operators and Elementary Operations

Syntax

symfalse

Returns the symbolic constant false.

Description

symfalse is the symbolic counterpart of false. It is a sym object, not a logical value, and it appears in symbolic results such as the condition of an unsatisfiable equation or the default branch of a piecewise.

Use isAlways to turn a symbolic truth value into an ordinary logical.

Example

The constant and its class

symfalse
class(symfalse)
isAlways(symfalse)
Output
ans = symfalse
ans = 'sym'
ans = logical
   0

See also

symtrue isAlways piecewise false