Implement an alternative to SNR function
Mostrar comentarios más antiguos
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?

Respuestas (1)
Walter Roberson
el 22 de Sept. de 2015
hint:
sum(x.^2)
2 comentarios
Hasan Ghorbani
el 24 de Sept. de 2015
Editada: Hasan Ghorbani
el 24 de Sept. de 2015
Walter Roberson
el 24 de Sept. de 2015
Where did the 20 come from?
Categorías
Más información sobre Descriptive Statistics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!