

filename = 'triangle.csv'; 

%M = [act_force.Time, act_force.Data, pos.Data ];

%csvwrite(filename,M)

M = csvread(filename);

time = M(:,1);
pos = M(:,3);
act_force = M(:,2);

figure;
subplot(1,2,1);
plot(time,pos.*180/pi); 
legend('pos'); 
subplot(1,2,2); 
plot(time,act_force); 
legend('Actuation force')

