Next  |  Prev  |  Up  |  Top  |  REALSIMPLE Top

Viewing Magnitude Responses of the Fitted Filters and the Original Signal

Figure 9 shows an overlay of the original, invfreqz, and stmcb amplitude responses.
Figure 9: Overlap of the fitted filter magnitude responses and the original signal
\resizebox{4.3in}{!}{\includegraphics{\figdir /06-05-22-10-overlap-mag-response-invfreqz-stmcb-orig.eps}}
Figure 10 shows a close-up of the overlay of the previous figure.
Figure 10: Closeup of the overlap of the fitted filter magnitude responses and the original signal
\resizebox{4.3in}{!}{\includegraphics{\figdir /06-05-22-11-closeup-overlap-mag-response-invfreqz-stmcb-orig.eps}}

The following code segment was used to generate the above two plots:

figure; 
plot(wH*fs/(2*pi),20*log10(abs(Hmin(1:Npt/2+1))));
hold on
plot(Finvf,20*log10(abs(Hinvf)),'r')
plot(Fstm,20*log10(abs(Hstm)),'g')
xlabel('Frequency (Hz)')
ylabel('Magnitude (dB)')
legend('target','invfreqz','stmcb')
title(['closeup of overlap of frequency response of stmcb filter,',...
       ' invfreq filter, and original signal]');
axis([0 4000 -0.5 0])


Next  |  Prev  |  Up  |  Top  |  REALSIMPLE Top

Download vguitar.pdf

``REALSIMPLE Basic Virtual Acoustic Guitar Lab'', by Nelson Lee and Julius O. Smith III,
REALSIMPLE Project — work supported by the Wallenberg Global Learning Network .
Copyright © 2008-06-05, by Nelson Lee and Julius O. Smith III
Center for Computer Research in Music and Acoustics (CCRMA),   Stanford University
CCRMA