how to filter EEG excel data(2562*11) using matlab.

3 views (last 30 days)
I have a excel EEG data sets.how an i filter(butterworth or chebsheborelliptic) it using matlab.How to use for loop to select specific coloum

Answers (2)

Rohan Kale
Rohan Kale on 5 Aug 2017
There is no need to use any for loops. Just use colon operator to extract a particular column from the matrix (formed after importing data from excel). Later, use that column as an input to the filter.

Jan
Jan on 5 Aug 2017
data = rand(2562, 11);
[b, a] = butter(8, 0.4);
data(:, 3) = filter(b, a, data(:, 3));
data(:, 6:8) = filter(b, a, data(:, 6:8));
What exactly is the problem?

Categories

Find more on EEG/MEG/ECoG in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!