102 4. LINEAR TIME-INVARIANT SYSTEMS AND CONVOLUTION
is a frame-based implementation. Of particular importance in this function is the usage of the
persistent variable buffer . is variable stores previous samples of an input signal between
calls to the convolution function in order to produce the output.
Figure 4.49: Real-time convolution MATLAB function (named LR4-2 real-time example).
4.6.2 TEST BENCH
As noted earlier, for debugging purposes as well as simulating the response of a linear time-
invariant system on a target platform, a test bench MATLAB script needs to be written. For
audio signal processing, a typical MATLAB script assumes samples of an entire audio signal are
available but on an actual smartphone target, audio signal processing takes place one frame at a
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.144.197