How to calculate absoulte error?
2 views (last 30 days)
Show older comments
I've got a datavector (775X1) (look attachment). How do I calculate the absolute error of it? Thanks
2 Comments
John Petersen
on 15 Jan 2015
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.
Answers (1)
Image Analyst
on 15 Jan 2015
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 Comments
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!