Biomech-Sim-Toolbox 1
Toolbox for movement simulation and analysis
Loading...
Searching...
No Matches
Functions
calculateMeasures.m File Reference

Function to caluclate the error and performance measures for a simVarTable. More...

Functions

function calculateMeasures (in simVarTable, in measureNames)
 Function to caluclate the error and performance measures for a simVarTable.
 

Detailed Description

Function to caluclate the error and performance measures for a simVarTable.

Author
Marlies Nitschke
Date
December, 2021

Function Documentation

◆ calculateMeasures()

function calculateMeasures ( in  simVarTable,
in  measureNames 
)

Function to caluclate the error and performance measures for a simVarTable.

It adds the following columns for each measure to the simVarTable

  • <measure>_sim_track comparing the columns "sim" and "mean"
  • <measure>_sim_extra comparing the columns "sim" and "mean_extra" if there is extra data.
  • <measure>_track_extra comparing the columns "mean" and "mean_extra" if there is extra data.

Supported measures and their functions:

  • CMC (calculateCMC)
  • Pearson (calculateCORR)
  • rRMSE (calculateRelativeRMSE)
  • RMSE (calculateRMSE)

Example:

simVarTable = calculateMeasures(simVarTable, {'CMC', 'RMSE'})
function calculateMeasures(in simVarTable, in measureNames)
Function to caluclate the error and performance measures for a simVarTable.
Parameters
smiVarTableTable: Simulated, tracked and optionally reference data created with Collocation.report or Collocation.extractData.
measureNamesCell array: Names of the measures which should be computed
Return values
smiVarTableTable: Simulated, tracked and optionally reference data including columns for the measures
Examples
/home/runner/work/BioMAC-Sim-Toolbox/BioMAC-Sim-Toolbox/ExampleScripts/+IntroductionExamples/scriptPlotting.m.