

filename = 'ensaio2.csv';

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

csvwrite(filename,M)

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