nakul8873
Newbie level 4
I have to generate wideband noise of 60 hz with random amplitude. I have to implement this in C#. I dont have any idea about wideband noise, so any relevant material would be a help.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Fs = 1000;
t = 0:1/Fs:100;
white_noise = randn(size(t));
[b,a] = butter(8, 10*2/Fs) % low-pass 10 Hz filter
x = filter(b, a, white_noise); % band limited noise
x = x.*sin(2*pi*60*t); % modulation to 60Hz +/- 10 Hz
Hs=spectrum.periodogram;
psd(Hs, x, 'Fs', Fs)