add Matlab files
This commit is contained in:
parent
8bcbf3ad5b
commit
9e506f7b05
15
matlab/run_test.m
Normal file
15
matlab/run_test.m
Normal file
@ -0,0 +1,15 @@
|
||||
%%
|
||||
tg = slrt;
|
||||
|
||||
f = SimulinkRealTime.openFTP(tg);
|
||||
mget(f, 'data/data.dat');
|
||||
close(f);
|
||||
|
||||
%% Convert the Data
|
||||
data = SimulinkRealTime.utils.getFileScopeData('data/data.dat').data;
|
||||
|
||||
x = data(:, 1);
|
||||
t = data(:, end);
|
||||
|
||||
%% Save
|
||||
save('mat/noise.mat', 't', 'x');
|
2
matlab/setup.m
Normal file
2
matlab/setup.m
Normal file
@ -0,0 +1,2 @@
|
||||
Fs = 50e3; % [Hz]
|
||||
Ts = 1/Fs; % [s]
|
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/vionic_noise.slx
Normal file
BIN
matlab/vionic_noise.slx
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user