Effacer les filtres
Effacer les filtres

SNR

3 vues (au cours des 30 derniers jours)
Filipe
Filipe le 24 Juin 2011
Hi people;
I have this;
sinal = A*sin(2*pi*f0*t); noise = sigma*randn(1,Nt); fs = 1000; f0 = 100; Nt = 1024; t = [0:Nt-1]/fs;
How can I obtain the Signal-to-noise this?
SNR
thanks

Réponse acceptée

Rick Rosson
Rick Rosson le 24 Juin 2011
  1. Compute the power in the signal Ps
  2. Compute the power in the noise Pn
  3. Then: SNR = Ps/Pn;
HTH.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by