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

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)

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.
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

Asked:

on 2 Aug 2017

Commented:

on 12 Aug 2017

Community Treasure Hunt

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

Start Hunting!