tiennghe27
Newbie level 4
hello everyone, i need your help
i need plot SRN and bit error rate of 1 rectangle pulse
this is code i write to plot pulse
i need plot SRN and bit error rate of 1 rectangle pulse
this is code i write to plot pulse
Code vb.net - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 rng default Tpulse = 200e-3; Fs = 1e2; t = -1:1/Fs:1; x = rectpuls(t,Tpulse); y = 0.1*randn(size(x)); s = x + y; pulseSNR = snr(x,s-x) figure(1) plot(t,x) figure(2) plot(t,y) figure(3) plot(t,s)
Last edited by a moderator: