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:
parent
ea3a7f95e8
commit
81686bbf0d
@ -65,9 +65,9 @@ if ApplyRealignment % apply relignment as described in Rispens S, Pijnappels M,
|
|||||||
dataAcc = RealignedAcc;
|
dataAcc = RealignedAcc;
|
||||||
[B,A] = butter(2,20/(FS/2),'low');
|
[B,A] = butter(2,20/(FS/2),'low');
|
||||||
dataAcc_filt = filtfilt(B,A,dataAcc);
|
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');
|
[B,A] = butter(2,20/(FS/2),'low');
|
||||||
dataAcc = inputData;
|
dataAcc = inputData(:, [3,2,1]);
|
||||||
dataAcc_filt = filtfilt(B,A,dataAcc);
|
dataAcc_filt = filtfilt(B,A,dataAcc);
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user