%% Determine Finite Real Elements
% Create a row vector and determine the finite real elements.

A = 1./[-2 -1 0 1 2]
TF = isfinite(A)

%
% Copyright 2012 The MathWorks, Inc.