function [flb,fub] = utMaxFreqRange(Ts)
% Sets max frequency grid extent for frequency plots.
% In auto-focus mode, the frequency grid generated by FREQGRID
% and frequnecy range generated by FREQFOCUS are guaranteed to
% fit inside the [FLB,FUB] range.

%   Author(s): P. Gahinet
%   Copyright 1986-2006 The MathWorks, Inc.
if Ts==0
   flb = 1e-20;   fub = 1e20;
else
   nf = pi/abs(Ts);
   flb = min(1e-20,1e-10*nf);   fub = nf;
end
