Transfer function between two audio signals
5 views (last 30 days)
Show older comments
Hi, i'm trying to calculate a transfer function between 2 audio signals (x and x2). I applied an octave filter to each signal so I have the power for each band of the signals (x_oct_pow and x2_oct_pow), I want to know the transfer function. An example below:
[x_oct_pow, x2_oct_pow] = octave(x, x2, Fs);
What is the correct method to get the transfer function between x_oct_pow and x2_oct_pow? I have to divide the vectors:
tr_f = x2_oct_pow ./ x_oct_pow;
or, since I'm working with a power, I have to subtract them?
tr_f = x2_oct_pow - x_oct_pow;
Thank you for your help
0 Comments
Answers (1)
Ankit Bhatnagar
on 8 Feb 2017
Edited: Ankit Bhatnagar
on 8 Feb 2017
I believe that you are using the Octave Filter function as there is no 'Octave' function in MATLAB. The usage of the Octave Filter is of the form: octFilt = octaveFilter(1000,'1/3 octave','SampleRate',96000) which creates a System object, octFilt, with a center frequency of 1000 Hz, a 1/3 octave filter bandwidth, and a sample rate of 96,000 Hz. For details on the output and other properties please refer to:
As far as transfer function for the signals, it can be obtained by dividing the signals not subtracting.
See Also
Categories
Find more on Measurements and Spatial Audio in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!