Transfer function between two audio signals
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Ankit Bhatnagar
le 8 Fév 2017
Modifié(e) : Ankit Bhatnagar
le 8 Fév 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.
1 commentaire
Voir également
Catégories
En savoir plus sur Measurements and Spatial Audio dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!