Learn R Programming

gasper (version 1.1.1)

SNR: Signal to Noise Ratio.

Description

Signal to Noise Ratio.

Usage

SNR(x, y)

Arguments

x

Original reference signal.

y

Restored or noisy signal.

Value

Signal to Noise ratio.

Examples

Run this code
# NOT RUN {
x <- cos(seq(0, 10, length=100))
y <- x + rnorm(100, sd=0.5)
SNR(x, y)
# }

Run the code above in your browser using DataLab