%% Check Each Model in Array
% Create a 1-by-5 array of models, and check each model for finite coefficients.

sys = rss(2,2,2,1,5);
B = isfinite(sys,'elem')

% isfinite checks each model in the model array, sys, and returns a logical array indicating which models have all finite coefficients.
% Copyright 2012 The MathWorks, Inc.