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.
Noise=0.7*(randn(size(t))); % Noise signal
fc = 50e6;
fup = 52e6;
flo = 48e6;
fs = 70e6;
Wp = [flo fup]/(fs/2); % normalized passband interval
Ws = [(fc/2) (fc+(fc/2))]/(fs/2); % normalized stopband interval
Rp = 3; % 3-dB attenuation at passband
Rs = 30; % 30-dB attenuation at stopband
[n,Wn] = buttord(Wp,Ws,Rp,Rs); % Butterworth filter
[b,a] = butter(n,Wn);
bandNoise = filter(b,a,Noise); % Band-limiting the noise