function obj = gramOptions(varargin)
%GRAMOPTIONS  Creates option set for the GRAM command.
%
%   OPT = GRAMOPTIONS returns the default options for GRAM. 
%
%   OPT = GRAMOPTIONS('Option1',Value1,'Option2',Value2,...) uses name/value
%   pairs to override the default values for 'Option1','Option2',...
%
%   Supported options include:
%
%   FreqIntervals    Restricts gramians to specific frequency intervals.
%                    The default is [] (unrestricted gramians over full
%                    frequency range). Use this option to emphasize some
%                    frequency bands and ignore other. Set this option to a
%                    two-column matrix where each row specifies one
%                    interval.
%
%   TimeIntervals    Restricts gramians to specific time intervals.
%                    The default is [] (unrestricted gramians over full
%                    time range). Use this option to emphasize some time
%                    intervals and ignore other. Set this option to a
%                    two-column matrix where each row specifies one
%                    interval.
%
%   Example:
%      sys = ss([-.1 -1;1 0],[1;0],[0 1],0);
%      opt = gramOptions('FreqIntervals',[0.8 1.2]);
%      gram(sys,'c',opt)  % computes controllability gramian on interval with most energy
%
%   See also GRAM, BALRED, BALREAL.

%   Author(s): S.Gumussoy
%   Copyright 1984-2021 The MathWorks, Inc.
try
   obj = initOptions(ltioptions.gram,varargin);
catch E
   throw(E)
end