EEG data plot issue

1 view (last 30 days)
Saima Raza
Saima Raza on 22 Feb 2023
Commented: Adam Danz on 22 Feb 2023
Hello ,when i plot my EEG dataset using code given below : my data gets plotted properly.
CG=load('1556openbci.mat')
LG=length(CG.chdata)
plot(CG.chdata)
xlabel('Time (s)'),ylabel('Amplitude (uV)'),xlim([0 60]), title(' Data')
but if i add time vector of collected data in plot command as in code shown below my data seems to be very noisy...Can anyone please guide.
LG=length(CG.chdata)
TG=[0:LG-1]/fs
plot(TG,CG.chdata),xlabel('Time (s)'), ylabel('Amplitude (uV)'),xlim([0 60]), title('Data')
  2 Comments
KSSV
KSSV on 22 Feb 2023
What is the issue?
Adam Danz
Adam Danz on 22 Feb 2023
@Saima Raza we cannot run your code without access to the data.
> my data seems to be very noisy
Is the problem that the data are noisy or is the goal to identify a way to visualize the noisy data?

Sign in to comment.

Answers (0)

Categories

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

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!