Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How can I insert awgn noise in the eeg signal?

Status
Not open for further replies.

Aparna24

Newbie level 4
Joined
Jun 23, 2017
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
52
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
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top