2% For LICENSE / TERMS OF USE, see the file LICENSE in the root directory of the repository.
6%% add functions path and get data path
8datapath = fullfile(datapath,
"self_captured/240508_allan_deviation_different_axes");
12% check
if already a .mat file exists
13if ~exist(fullfile(datapath,
"data.mat"),
'file')
15 disp("Loading data from BIN files and saving as .mat file...");
18 data(1) =
jumpReadData(fullfile(datapath, "S-24-A-13026_000.BIN"));
19 data(2) =
jumpReadData(fullfile(datapath, "S-24-A-13036_000.BIN"));
20 data(3) =
jumpReadData(fullfile(datapath, "S-24-A-13169_000.BIN"));
23 save(fullfile(datapath, "data.mat"), 'data');
25 disp("Data loaded and saved as .mat file.");
29 disp("Loading data from .mat file...");
31 load(fullfile(datapath, "data.mat"));
36%% plot acceleration data
40 plot(data(i).tt.t, data(i).tt.acc);
41 title("Accel. data " + num2str(i));
43 ylabel("Acceleration [m/s^2]");
function jumpNoiseAnalysis(in data, in options)
function jumpReadData(in filePath, in options)