Implement an alternative to SNR function
Ältere Kommentare anzeigen
Folks,
I have x as following:
[x,Fs] = audioread(strcat(PathName,FileName));
And some noise in the form of alpha*v as below:
rng('default');
alpha=0.2;
v = randn(size(x));
I don't have Signal Processing toolbox to use snr() function. How can I find SNR as given in this equation?

Antworten (1)
Walter Roberson
am 22 Sep. 2015
hint:
sum(x.^2)
2 Kommentare
Hasan Ghorbani
am 24 Sep. 2015
Bearbeitet: Hasan Ghorbani
am 24 Sep. 2015
Walter Roberson
am 24 Sep. 2015
Where did the 20 come from?
Kategorien
Mehr zu Descriptive Statistics finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!