%% Get Coefficients for Parallel Structure
% Create a graphicEQ System object™ with a Parallel structure and 1-octave bandwidth. A 1-octave bandwidth graphic equalizer consists of 10 bandpass filters. Specify the gains of each filter using the Gains property.

equalizer = graphicEQ('Structure','Parallel','Gains',randn(1,10))

%
% Call coeffs to return the coefficients of the filter designed by the graphic equalizer. Because the structure of the object is Parallel, the coefficients are returned as 3-D matrix. Pages correspond to the parallel branches of the filter.

[B,A] = coeffs(equalizer)

% Copyright 2012 The MathWorks, Inc.