How to know your numeric (scalar) value which indicates how well your filtering worked (by comparing your result to y_original)?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How to know your numeric (scalar) value which indicates how well your filtering worked (by comparing your result to y_original)?
0 commentaires
Réponse acceptée
Wayne King
le 6 Déc 2013
Modifié(e) : Wayne King
le 6 Déc 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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Line Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!