Clear Filters
Clear Filters

How can I insert awgn noise in the eeg signal?

1 view (last 30 days)
I have downloaded a file of .mat type and imported it in matlab, now I want to add noise in that eeg signal.
>fs = 512
>T = 1/fs; % sampling rate or frequency;
>N =length(EEGsig);
>ls = size(EEGsig); % find the length of the data per second
>tx =[0:length(EEGsig)-1]/fs;
>fx = fs*(0:N/2-1)/N;
>figure; subplot (211), plot(tx,EEGsig); xlabel('Time (s)'),
>ylabel('Amplitude (uV)'), title('Original EEG signal'); %EEG waveform
>subplot(212), plot(tx,EEGsig);
>xlabel('Time (s)'), ylabel('Amplitude (uV)'), title('Zoom into original EEG
signal at 1 to 2 seconds'), xlim([1,2]) ; % Used to zoom in on single ECG
waveformfigure

Accepted Answer

KSSV
KSSV on 23 Jun 2017
Read about awgn. There you got demo on how to add white Gaussian noise to given signal.
  1 Comment
Aparna Gupta
Aparna Gupta on 23 Jun 2017
Thank you @KSSV for replying to my question..I have already referred to the link you have just mentioned.I need to add noise to the EEG signal which i am finding difficult.I tried adding noise to the sine wave and i was successful but m unable to add noise to the eeg signal which i have already generated in matlab according to the above mentioned code.

Sign in to comment.

More Answers (1)

S Buvanesh Bharathwaj
S Buvanesh Bharathwaj on 25 Feb 2018
hi @Aparna Gupta. i want to know how did u generate the eeg signal.....i am a final year student and i have very short time to complete my project... kindly help me to finish my project. i want to know how to generate eeg signal... how to add noise to it and how to design filter for that signal. so far what i did is i downloaded eeg data set sample from physio.net and did some processing using eeglab(with referenc ton eeglab tutorial).....please do help me .... i have to submit the report in a week

Categories

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

Tags

Community Treasure Hunt

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

Start Hunting!