nass-simscape/Analysis/analyze_setpoint.m
Thomas Dehaeze 84bc428a18 Change the way simulation is initialized.
Add script to define input vectors.
Add script to plot curves.
2018-06-12 11:46:36 +02:00

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')