How can I insert awgn noise in the eeg signal?
4 views (last 30 days)
Show older comments
Aparna Gupta
on 23 Jun 2017
Answered: S Buvanesh Bharathwaj
on 25 Feb 2018
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
0 Comments
Accepted Answer
KSSV
on 23 Jun 2017
Read about awgn. There you got demo on how to add white Gaussian noise to given signal.
More Answers (1)
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
0 Comments
See Also
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!