MATLAB: How can i add to an noise to signal

biomedical signal processing

I have generated a code and implemented the database.

Best Answer

This will add normally-distributed broadband random noise to your EEG signal vector:
sd = 0.1; % Standard Deviation Of Random Noise Vector
normal_noise = sd*randn(1, N); % Create Normally-Distributed Random Noise Vector With Standard Deviation = ‘sd’
noisy_EEGsig = EEGsig + normal_noise; % Add Noise To ‘EEGsig’