Azzera filtri
Azzera filtri

How to know your numeric (scalar) value which indicates how well your filtering worked (by comparing your result to y_original)?

1 visualizzazione (ultimi 30 giorni)
How to know your numeric (scalar) value which indicates how well your filtering worked (by comparing your result to y_original)?

Risposta accettata

Wayne King
Wayne King il 6 Dic 2013
Modificato: Wayne King il 6 Dic 2013
you can compute the squared error
norm(y-y_original,2)
or the variants thereof like mean squared error or root mean squared error if you have a random element.
If you have the Signal Processing Toolbox see the help for rms() where you would use the difference vector.
A smaller squared error means a better approximation.

Più risposte (0)

Categorie

Scopri di più su Line Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by