nass-simscape/Tomography.m

28 lines
567 B
Mathematica
Raw Normal View History

2018-04-25 13:20:44 +02:00
save('Tomography.mat','Nass_xtomo','Nass_ytomo','Nass_ztomo','Nass_thetaxtomo','Nass_thetaytomo','Nass_thetaztomo')
%% Plot Angle
2018-06-04 09:34:40 +02:00
figure
hold on
2018-04-25 13:20:44 +02:00
plot(Nass_thetaxtomo)
plot(Nass_thetaytomo)
plot(Nass_thetaztomo)
xlabel('Time (s)')
ylabel('Angle (rad)')
title('Tomography Nass Rotation')
legend('Nass \theta_x','Nass \theta_y','Nass \theta_z')
grid;
hold off
%% Plot Position
2018-06-04 09:34:40 +02:00
figure
hold on
2018-04-25 13:20:44 +02:00
plot(Nass_xtomo)
plot(Nass_ytomo)
plot(Nass_ztomo)
xlabel('Time (s)')
ylabel('Distance (m)')
title('Tomography Nass Position')
legend('Nass x','Nass y','Nass z')
grid
hold off