ApplyRealignment changed to data of controls (order) - Variability outcomes were calculated for Controls (in seperate loops) --> outcome measures in one struct; OutcomesAcc.

This commit is contained in:
L. Dijk 2021-02-23 20:28:09 +01:00
parent ea3a7f95e8
commit 81686bbf0d
2 changed files with 2 additions and 2 deletions

View File

@ -65,9 +65,9 @@ if ApplyRealignment % apply relignment as described in Rispens S, Pijnappels M,
dataAcc = RealignedAcc;
[B,A] = butter(2,20/(FS/2),'low');
dataAcc_filt = filtfilt(B,A,dataAcc);
else % we asume tat data is already reorderd to 1 = V; 2= ML, 3 = AP in an earlier stage;
else % we asume that data for CONTROLS is already detrended and in order 1 = AP, 2 = ML, 3 = VT in an earlier stage;
[B,A] = butter(2,20/(FS/2),'low');
dataAcc = inputData;
dataAcc = inputData(:, [3,2,1]);
dataAcc_filt = filtfilt(B,A,dataAcc);
end

Binary file not shown.