Change the way simulation is initialized.

Add script to define input vectors.
Add script to plot curves.
This commit is contained in:
Thomas Dehaeze
2018-06-12 11:46:36 +02:00
parent 5587309cfa
commit 84bc428a18
10 changed files with 48 additions and 21 deletions

View File

@@ -0,0 +1,13 @@
%%
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')