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!