Functions | |
| setting flag for filtered data else | fprintf ('Data already filtered!!\n') unlockFiltData |
Variables | |
| function [unlockFiltData, unlockInfo] | |
| freqBand = unlockInfo.main.freqBand | |
| filterOrder = unlockInfo.main.filterOrder | |
| filterType = unlockInfo.main.filterType | |
| Filtering if~unlockInfo main doFilterData | unlockFiltData = setFilterParams(freqBand, filterType, filterOrder, smpRate) filtfilt(filtParams.b,filtParams.a,unlockData.data) |
| unlockInfo main | dataFiltered = true |
| setting flag for filtered data else fprintf | ( | 'Data already filtered!!\n' | ) |
| unlockInfo main dataFiltered = true |
filtData(unlockData,unlockInfo) % % % % % % Andres. v.1. 02 Jan 2014. %% Filter params smpRate = unlockInfo.main.Fs
| Filtering if ~unlockInfo main doFilterData unlockFiltData = setFilterParams(freqBand, filterType, filterOrder, smpRate) filtfilt(filtParams.b,filtParams.a,unlockData.data) |
1.7.1