add Simulink file
This commit is contained in:
parent
1435f92167
commit
d7116e94ee
4
matlab/analysis.m
Normal file
4
matlab/analysis.m
Normal file
@ -0,0 +1,4 @@
|
||||
figure;
|
||||
plot(F, d);
|
||||
xlabel('Measured Force [N]');
|
||||
ylabel('Measured Displacement [um]');
|
@ -0,0 +1,16 @@
|
||||
%%
|
||||
tg = slrt;
|
||||
|
||||
f = SimulinkRealTime.openFTP(tg);
|
||||
mget(f, 'data/data.dat');
|
||||
close(f);
|
||||
|
||||
%% Convert the Data
|
||||
data = SimulinkRealTime.utils.getFileScopeData('data/data.dat').data;
|
||||
|
||||
d = data(:, 1);
|
||||
F = data(:, 2);
|
||||
t = data(:, end);
|
||||
|
||||
%% Save
|
||||
save('mat/flex_1_x.mat', 't', 'd', 'F');
|
@ -0,0 +1,6 @@
|
||||
Fs = 20e3; % [Hz]
|
||||
Ts = 1/Fs; % [s]
|
||||
|
||||
%% Gains
|
||||
Gf = 10; % [N/V]
|
||||
Gd = 10e-6; % [m/V]
|
BIN
matlab/speedgoat_IO318_100k_CI_01585.mat
Normal file
BIN
matlab/speedgoat_IO318_100k_CI_01585.mat
Normal file
Binary file not shown.
BIN
matlab/test_bench_flexible_joints.slx
Normal file
BIN
matlab/test_bench_flexible_joints.slx
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user