How to know your numeric (scalar) value which indicates how well your filtering worked (by comparing your result to y_original)?
1 回表示 (過去 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!