How to know your numeric (scalar) value which indicates how well your filtering worked (by comparing your result to y_original)?
2 次查看(过去 30 天)
显示 更早的评论
How to know your numeric (scalar) value which indicates how well your filtering worked (by comparing your result to y_original)?
0 个评论
采纳的回答
Wayne King
2013-12-6
编辑:Wayne King
2013-12-6
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!