Approach for Noise Comparison

12 views (last 30 days)
Bartu
Bartu on 11 Mar 2015
Answered: Image Analyst on 11 Mar 2015
Hi,
Assuming I have two output signals measured from two different power supplies, I want to compare the noise-levels of these output signals to find out which one of them the noisier one. The data of the input is also available.
However the noise-free output signals are unknown (we have only the noisy signals). Therefore comparing their Signal-to-Noise ratios wouldn't be possible. Is there another approach to do such comparison in MATLAB?
Thanks, Bartu

Accepted Answer

Image Analyst
Image Analyst on 11 Mar 2015
If the signal is a DC voltage, simply use std() to take the standard deviation. If the power supply supplies an AC voltage (sine wave), fit the signal to a cubic with sgolayfilt() - a Savitzky-Golay filter which is like a sliding polynomial filter - and then subtract the fitted signal from the actual signal to get the noise. You know that sine and cosine waves can be modeled as polynomials from the Taylor series expansion, so I'd go no higher than 3rd or 4th order on the Savitzky-Golay filter. sgolayfilt() is in the signal Processing Toolbox and I attach a demo. If you don't have that toolbox you can use rloess or rsmooth in the Curve Fitting Toolbox.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!