How to calculate absoulte error?
2 次查看(过去 30 天)
显示 更早的评论
I've got a datavector (775X1) (look attachment). How do I calculate the absolute error of it? Thanks
2 个评论
John Petersen
2015-1-15
Typically we compute an error by using a truth with estimated values or desired with a fedback value. What does the data vector you have provided represent? If it's the error, then absolute error could be just the absolute value of the vector. Or if you want to represent the error with a scalar then you could take root mean square. or average the absolute value. It depends on what you want.
回答(1 个)
Image Analyst
2015-1-15
Like John said, you need to know the "true" values to know the error. Or at least some educated guess at what they might be. Why do you think there is any error at all ? Maybe there's not. If you think there is , then you must have some idea of what the values should be. Given some true, or at least reference, values you can use metrics like PSNR or MAD or RMS to quantify the error or residuals.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!