%change 'hobo2.txt' to 'nameofexportedcsv' as needed
data = dlmread('hobo2.csv', '\t'); %defining matrix data from csv

%defining time and acclerations by selecting columns of matrix 'data'
time = data(1:end, 1:1);
xacc = data(1:end, 3:3);
yacc = data(1:end, 4:4);
zacc = data(1:end, 5:5);

%calculating resultant vector
xsq = xacc .^ 2;
ysq = yacc .^ 2;
zsq = zacc .^ 2;
rsltacc = sqrt(xsq+ysq+zsq);

figure (1)
plot(time,xacc,'1')
hold on;
plot(time,yacc,'2')
plot(time,zacc,'3')

figure (2);
plot(time,rsltacc,'1')