finite:

Syntax: finite ( A )

Description:

	finite returns a matrix, the same size as the input (A),
	consisting of ones and zeros. The elements of the return
	matrix are 1 if the corresponding value of A is finite, or
	zero if the corresponding element of A is an Inf or a NaN. 

Example:

		> a = [1, inf(), 3; 4, 5, 6; inf(), 8, nan()]
		 a =
		        1        inf          3  
		        4          5          6  
		      inf          8  nan0x80000000  
		> finite (a)
		        1          0          1  
		        1          1          1  
		        0          1          0  

See Also: isinf, isnan
