diff --git a/matlab/run_test.m b/matlab/run_test.m new file mode 100644 index 0000000..2b64bcb --- /dev/null +++ b/matlab/run_test.m @@ -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'); \ No newline at end of file diff --git a/matlab/setup.m b/matlab/setup.m new file mode 100644 index 0000000..2cf5e3e --- /dev/null +++ b/matlab/setup.m @@ -0,0 +1,2 @@ +Fs = 50e3; % [Hz] +Ts = 1/Fs; % [s] \ No newline at end of file diff --git a/matlab/speedgoat_IO318_100k_CI_01585.mat b/matlab/speedgoat_IO318_100k_CI_01585.mat new file mode 100644 index 0000000..094402c Binary files /dev/null and b/matlab/speedgoat_IO318_100k_CI_01585.mat differ diff --git a/matlab/vionic_noise.slx b/matlab/vionic_noise.slx new file mode 100644 index 0000000..0956bf1 Binary files /dev/null and b/matlab/vionic_noise.slx differ