Implement an alternative to SNR function
1 visualización (últimos 30 días)
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/149273/image.jpeg)
0 comentarios
Respuestas (1)
Walter Roberson
el 22 de Sept. de 2015
hint:
sum(x.^2)
Ver también
Categorías
Más información sobre Multirate Signal Processing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!