Clear Filters
Clear Filters

How to calculate absoulte error?

3 views (last 30 days)
Sam
Sam on 15 Jan 2015
Answered: Image Analyst on 15 Jan 2015
I've got a datavector (775X1) (look attachment). How do I calculate the absolute error of it? Thanks
  2 Comments
John Petersen
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.
Sam
Sam on 15 Jan 2015
this vector represents the force measured on a forceplate, in Newton.

Sign in to comment.

Answers (1)

Image Analyst
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.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!