Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clf; clear; clc;
- %%sekcja 4
- f0 = 1.9;
- B = 0.0001;
- fp1 = f0-0.001;
- fp2 = f0+0.001;
- fs1 = f0-0.005;
- fs2 = f0+0.005;
- A = 60;%db
- di1 = 0.5;%db
- fs = 0.3;
- war_x = 1/3;
- Bt = fs2 - fs1
- m = (2*f0 - Bt)/fs;
- m = ceil(m) + 1
- fsp = (2*f0-B)/m
- bits = (A - 4.77 - 10*log10(war_x))/6.02
- bits = ceil(bits)
- SNR = 6.02*bits + 4.77 + 10*log10(war_x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement