cargar_datos_shimmer

Read a text file generated by the shimmer sensors.

Syntax

[medicion]= cargar_datos_shimmer(file,idname)

Description

[medicion]= cargar_datos_shimmer(file,idname) file is the name of the file, and idname an identifier of the data structure where the data will be stored.
The data structure that the function creates has the form:

Examples

% Lectura de un archivo:
medicion=cargar_datos_shimmer('sh38aa.csv','sens1')
Error using readtable (line 19)
Unable to find or open 'sh38aa.csv'. Check the path and filename or file permissions.

Error in cargar_datos_shimmer (line 30)
med=readtable(file,'ReadVariableNames',false,'TextType','string');
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
% Representa loa acelerometros:
plot(medicion.Accel_LN)
% El giroscopio en Y:
plot(medicion.Gyro(:,2))