How to calculate SNR from coherence function?

Hi!
I havee aset of transfr functions calcuated with tfestimate and a set of coherence functions calculated with mscoherence. I need the SNR of the signals, and I know that the folowing equation is true:
, where C is the coherence function. Could someone write a simple script to show me how it works in practice?

 Accepted Answer

Simply:
coh % vector calculated by mscoherence
SNRfg = coh ./ (1-coh);
SNR = 10*log10(mean(SNRfg));

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!