%% Determine Infinite Real Elements
% Create a row vector and determine the infinite elements.

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

%
% Copyright 2012 The MathWorks, Inc.