How to compare two signal
Ältere Kommentare anzeigen
I have two signal. One is original signal and other is reconstruction of that signal. Reconstruction is done by some algorithms. My doubt is how to compare of that two signal to show that reconstructed signal has approximately same as original signal.
Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 24 Mai 2014
1 Stimme
If they're images or 2D arrays, you can use psnr() or ssim() (both are now in the Image Processing Toolbox). Check wikipedia for definitions. I have a manual method for psnr and MSE if you need it. You could also use SAD or MAD (sum or mean of absolute differences).
2 Kommentare
Tinkul
am 24 Mai 2014
Image Analyst
am 24 Mai 2014
Well psnr, MSE, MAD, and SAD all work for 1D signals. Try them. They have different uses. For example the MSE (Hugo's answer) really blows up for big outliers, while MAD doesn't so much. And there are others that are really a lot better behaved in the presence of outliers like Median Absolute Deviation http://en.wikipedia.org/wiki/Median_absolute_deviation
Kategorien
Mehr zu Descriptive Statistics finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!