|
Biomech-Sim-Toolbox 1
Toolbox for movement simulation and analysis
|
Function to calculate RMSE. More...
Functions | |
| function | calculateRMSE (in x, in y) |
| Function to calculate RMSE. | |
Function to calculate RMSE.
| function calculateRMSE | ( | in | x, |
| in | y | ||
| ) |
Function to calculate RMSE.
This function will calculate the Root-Mean-Squared Error (RMSE). It indicates the absolute fit of two signals. Lower values of RMSE indicate better fit.
\( \mathbf{x} = \left[x_1,x_2,\ldots,x_N \right]^T \)
\( \mathbf{y} = \left[y_1,y_2,\ldots,y_N \right]^T \)
RMSE = \( \sqrt {\frac{1}{N} \displaystyle\sum_{i=1}^{N}\displaystyle (y_i - x_i )^2 } \)
| x | Double vector x |
| y | Double vector y |
| RMSE | Double: Root mean squared error |