def ten_band_eq_resp(GdB,Q=<NUM_LIT>):
fs = <NUM_LIT> <EOL>NB = len(GdB)<EOL>if not NB == <NUM_LIT:10>:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>Fc = <NUM_LIT>*<NUM_LIT:2>**np.arange(NB)<EOL>B = np.zeros((NB,<NUM_LIT:3>));<EOL>A = np.zeros((NB,<NUM_LIT:3>));<EOL>for k in range(NB):<EOL><INDENT>b,a = peaking(GdB[k],Fc[k],Q,fs)<EOL>B[k,:] = b<EOL>A[k,:] = a<EOL><DEDENT>F = np.logspace(<NUM_LIT:1>,np.log10(<NUM_LIT>),<NUM_LIT:1000>)<EOL>H = np.ones(len(F))*np.complex(<NUM_LIT:1.0>,<NUM_LIT:0.0>)<EOL>for k in range(NB):<EOL><INDENT>w,Htemp = signal.freqz(B[k,:],A[k,:],<NUM_LIT:2>*np.pi*F/fs)<EOL>H *= Htemp<EOL><DEDENT>plt.figure(figsize=(<NUM_LIT:6>,<NUM_LIT:4>))<EOL>plt.subplot(<NUM_LIT>)<EOL>plt.semilogx(F,<NUM_LIT:20>*np.log10(abs(H)))<EOL>plt.axis([<NUM_LIT:10>, fs/<NUM_LIT:2>, -<NUM_LIT:12>, <NUM_LIT:12>])<EOL>plt.grid()<EOL>plt.title('<STR_LIT>')<EOL>plt.xlabel('<STR_LIT>')<EOL>plt.ylabel('<STR_LIT>')<EOL>plt.subplot(<NUM_LIT>)<EOL>plt.stem(np.arange(NB),GdB,'<STR_LIT:b>','<STR_LIT>')<EOL>plt.axis([<NUM_LIT:0>, NB-<NUM_LIT:1>, -<NUM_LIT:12>, <NUM_LIT:12>])<EOL>plt.xlabel('<STR_LIT>')<EOL>plt.ylabel('<STR_LIT>')<EOL>plt.grid()<EOL>
Create a frequency response magnitude plot in dB of a ten band equalizer
using a semilogplot (semilogx()) type plot


Parameters
----------
GdB : Gain vector for 10 peaking filters [G0,...,G9]
Q : Quality factor for each peaking filter (default 3.5)

Returns
-------
Nothing : two plots are created

Examples
--------
>>> import matplotlib.pyplot as plt
>>> from sk_dsp_comm import sigsys as ss
>>> ss.ten_band_eq_resp([0,10.0,0,0,-1,0,5,0,-4,0])
>>> plt.show()