Determines if the given argument has finite values for example, it is normal, subnormal or zero, but not infinite or NaN.
The function returns TRUE if the argument does not contains any INF or NaN value, FALSE otherwise.
Syntax
isfinite(x)
Types
Variable Name | Value Type | Variable Type | ||
---|---|---|---|---|
Arguments: | x | real, complex | scalar, vector, matrix, signal, xy-data | |
Result: | z | bool | scalar |
Calculator Input
Use the
button to complete the operation.Example
ID | Description | Type | Value | Expression | |
---|---|---|---|---|---|
a | Result | BOOL | true | isfinite(0) | |
b | Result | BOOL | true | isfinite(2^1023) | |
c | Result | BOOL | false | isfinite(2^1024) | |
d | Result | BOOL | false | isfinite(1/0) | |
x | COMPLEX REAL SIGNAL | signal([1,2],[1,1/0],[real(1/0),imag(1/0)]) | |||
z | Result | BOOL | false | isfinite(x) | |
y | REAL SIGNAL | signal([1,2],[1,2],[3,4]) | |||
z | Result | BOOL | true | isfinite(y) |