Say I have a signal that \$y(t) = s(t) + n(t)\$ where \$s(t)\$ is the desired signal and \$n(t)\$ is the noise signal. I understand that if the mean value is \$0\$, the Signal-Noise-Ratio can be computed with the formula:
\$20log_{10}(\frac{\int s(t)^2 dt}{\int n(t)^2 dt})\$
If say, the mean value for \$s(t)\$ is \$\mu_s\$ and the mean value for \$n(t)\$ is \$\mu_n\$, would the formula for calculating the Signal-Noise-Ratio become:
\$20log_{10}(\frac{\int (s(t)-\mu_s)^2 dt}{\int (n(t)-\mu_n)^2 dt})\$