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

Function to write IMU data to a .csv file. More...

Functions

function writeIMUcsv (in times, in variableTableIMU, in filenameAll)
 Function to write IMU data to a .csv file.
 

Detailed Description

Function to write IMU data to a .csv file.

Author
Marlies Nitschke
Date
July, 2023

Function Documentation

◆ writeIMUcsv()

function writeIMUcsv ( in  times,
in  variableTableIMU,
in  filenameAll 
)

Function to write IMU data to a .csv file.

This functions follows the format definition of APDM.

This function assumes that the data is given in the correct units. The unit for acceleration signals is m/s^2 and for gyroscope signals is rad/s. Units will never be converted.

Parameters
timesDouble vector: Time in seconds (nNodes x 1)
variableTableIMUTable: Variables table with at least the columns type, name, direction, and mean.
filenameAllString: Filename to save the data including path and file extension ('.csv')