Graphics Reference
In-Depth Information
isnumeric (V)
It returns 1 if V is a numeric vector and 0 otherwise
ishold
It returns 1 if they retain the properties of the current graph for the next and for those only added
new and otherwise 0
isieee
Returns 1 for IEEE computer
isstr (S)
It returns 1 if S is a string and 0 otherwise
ischart (S)
It returns 1 if S is a string and 0 otherwise
IsGlobal (A)
Returns 1 if A is a global variable and 0 otherwise
IsLetter (S)
It returns 1 if S is a letter of the alphabet and 0 otherwise
IsEqual (A, B)
Returns 1 if the matrices or vectors A and B are equal, and 0 otherwise
IsMember (V, W)
Returns 1 for every element of V which is in W and 0 for every element V that is not in W
Below are some examples of logical functions in use.
>> V=[1,2,3,4,5,6,7,8,9], isprime(V), isnumeric(V), all(V), any(V)
V =
1 2 3 4 5 6 7 8 9
years =
0 1 1 0 1 0 1 0 0
years =
1
years =
1
years =
1
>> B=[Inf, -Inf, pi, NaN], isinf(B), isfinite(B), isnan(B), isreal(B)
B =
INF - Inf 3.1416 NaN
years =
1 1 0 0
Search WWH ::




Custom Search