%% Example: reading the instrumented baffle time-series run /users/swinkels/deploy/MatlabVirgoTools/trunk/startup.m cd('/data/prod/envmon/Instrumented_Baffles/NI_tower/txt_files/20260616/') % Calibration factors [(m/s^2)/V] calib = [1/0.01, 1/0.102, 1/0.102, 1/0.102]; sensorName = {'reference acc (mono-axial)','triaxial acc-x axis','triaxial acc-y axis','triaxial acc-z axis'}; time=[]; volts=[]; % Files corresponding to the four accelerometer channels file = {'SIG0042_BLOCK(ch1).txt', ... 'SIG0042_BLOCK(ch2).txt',... 'SIG0042_BLOCK(ch3).txt', ... 'SIG0042_BLOCK(ch4).txt'}; descr={'ch1','ch2','ch3','ch4'}; for n=1:4 sig = readtable(file{n},"NumHeaderLines",16); time(n,:)=sig.Var1; signal(n,:)=sig.Var2*calib(n); end