Transfer function between two audio signals
5 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Ankit Bhatnagar
2017 年 2 月 8 日
編集済み: Ankit Bhatnagar
2017 年 2 月 8 日
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.
参考
カテゴリ
Help Center および File Exchange で Measurements and Spatial Audio についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!