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 Commenti

KSSV
KSSV il 22 Feb 2023
What is the issue?
Adam Danz
Adam Danz il 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?

Accedi per commentare.

Risposte (0)

Prodotti

Release

R2020b

Richiesto:

il 22 Feb 2023

Commentato:

il 22 Feb 2023

Community Treasure Hunt

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

Start Hunting!

Translated by