Real-time digital signal processing: implementations, ... changes in the input signal is limited by its internal clock rate, so that it may be slow to
Document source : notes.ump.edu.my
1.5
1.0
0.5
0.0
-0.5
-1.0
-1.5
0
200
400
Amplitude
600
800
1000
Time
× 10
-4
Figure 4.19 Example of a measure room impulse response
-150
-140
-130
-120
-110
-100
-90
-80
-70
-60
-50
0
100
200
Magnitude, dB
300
400
500
Frequency, Hz
Figure 4.20 Magnitude response of measured RTF
where the room impulse response samples are stored in the ASCII file imp.dat. Both
the MATLAB script imprtf.m and the data file imp.dat are included in the software
package.
We can easily evaluate the magnitude response of the room transfer function using
the MATLAB script magrtf.m available in the software package. The magnitude
response is shown in Figure 4.20.
MATLAB provides a powerful function a lpc(x, N) to estimate the coefficients
a
m
of an Mth-order all-pole IIR filter. A user-written MATLAB function all_pole.m
that shows the magnitude responses of the measured and modeled RTF is given in the
164
FREQUENCY ANALYSIS
Summary :
1.5 1.0 0.5 0.0 -0.5 -1.0 -1.5 0 200 400 Amplitude 600 800 1000 Time × 10 -4 Figure 4.19 Example of a measure room impulse response -150 -140 -130 -120 -110 -100 -90 -80 -70 -60 -50 0 100 200 Magnitude, dB 300 400 500 Frequency, Hz Figure 4.20 Magnitude response of measured RTF where the room impulse response samples are stored in the ASCII file imp.dat.
Tags :
magnitude,response,matlab,function,figure,room,software,impulse,impdat,measured,420,200,400