Friday, 27 May 2016

MATLAB Programming 19 - Relational Operators

Relational operator

Specify the operation for comparing two inputs or determining the signal type of one input.

==
TRUE if the first input is equal to the second input
~=
TRUE if the first input is not equal to the second input
<
TRUE if the first input is less than the second input
<=
TRUE if the first input is less than or equal to the second input
>=
TRUE if the first input is greater than or equal to the second input
>
TRUE if the first input is greater than the second input
isInf
TRUE if the input is Inf
isNaN
TRUE if the input is NaN
isFinite
TRUE if the input is finite


No comments:

Post a Comment