Is there a way to show gain has been added to a signal?
4 ビュー (過去 30 日間)
古いコメントを表示
I have an audio file that produces a 13230080x2 matrix. The first column represents the raw data, the second column represents the same data with 6dB of gain. Am I able to graphically show that gain has been added to that signal?
0 件のコメント
採用された回答
Star Strider
2018 年 1 月 27 日
I would take the fft (link) of both, express them both as decibels (using 20*log10(abs(x)) where ‘x’ is each signal) and then plot them together (using the hold function).
You should be able to see the gain.
4 件のコメント
Star Strider
2018 年 1 月 28 日
My guess is that your signals are simply very noisy, and the noise is obscuring the details. If you take the mean of your ‘diff’ variable, you will quite likely see the difference, because ‘diff’ does not appear to be symmetric about 0, instead having a positive bias.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Audio I/O and Waveform Generation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!