EEG data plot issue

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?
@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

Products

Release

R2020b

Asked:

on 22 Feb 2023

Commented:

on 22 Feb 2023

Community Treasure Hunt

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

Start Hunting!