plot a real EEG data save as csv file

1 view (last 30 days)
Hi everyone, I am trying to import and plot an EEG data save as csv file on matlab, unfortunately matlab is unable to concatenate 2 variables because they are double and cell. I paste my code below:
clc;
clear;
close all;
T = table2array(readtable('SignalData.csv'));
for i = 1:19
plot(T(:,i));
hold on
end
The data has 287809 rows and 20 colunns.
Thanks.
Steve

Answers (1)

Star Strider
Star Strider on 7 Dec 2022
Use readtable and then select the appropriate variables rather than using table2array. Without knowing more about the cell array, I have no further usggestions with respect to it.

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!