84bc428a18
Add script to define input vectors. Add script to plot curves.
14 lines
288 B
Matlab
14 lines
288 B
Matlab
%%
|
|
Dmeas.Data = Dmeas.Data - Dmeas.Data(1, :);
|
|
|
|
%%
|
|
figure;
|
|
hold on;
|
|
plot(r_setpoint.Time, r_setpoint.Data(:, 2));
|
|
plot(Dmeas.Time, Dmeas.Data(:, 2));
|
|
legend({'Setpoint', 'Ty'})
|
|
hold off;
|
|
xlabel('Time [s]'); ylabel('Displacement [m]');
|
|
|
|
exportFig('set_time_translations', 'normal-normal')
|