Home » Source Code » » ask_2.m

## ask_2.m ( File view )

From：
• By 2010-08-27
• View(s)：6
• Point(s)： 1
```			function [ output_args ] = Untitled1( input_args )
clear;
hold off;
% define
A = 1; % 单位幅度
NUMBER = 10000; % 试验总数
FC = 2;%*10^6; %载波频率
RESOLUTION = 64; % 载波每个周期用RESOLUTION个点表示
FR = FC * RESOLUTION;
SNRdB = 0:1:10;
% 理论曲线
Pe = 1/2 * exp( -0.25*10.^(SNRdB/10) );
plot(SNRdB, Pe, 'R');hold on;grid on;

% create signal
n = 1:NUMBER*FR;
xn = rand(1,NUMBER)>0.5;
wc = sin(n/RESOLUTION*2*pi);
x = wc.*xn(ceil(n/FR));
Vt = sum( 0.5 * wc([1:FR]).^2 );
for i=1:length(SNRdB)
y = awgn(x, SNRdB(i)-10*log10(FR), 'measured');
for j=1:NUMBER
z = y([(j-1)*FR+1:j*FR]);

...
...
```
...
Expand＞ ＜Close

Point(s): 1

0 lines left, continue to read

## File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
dpsk_1.m958.00 B31-12-08|23:20
fsk_1.m1.17 kB31-12-08|23:11
fsk_2.m1.05 kB31-12-08|23:14
psk_1.m833.00 B31-12-08|23:17
...
• Sent successfully!
• 1 point

Need 1 point

Get point immediately by PayPal

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more point

Don't have an account？ Register now
Need any help?
Mail to: support@codeforge.com

### 切换到中文版？

CodeForge Chinese Version
CodeForge English Version

### ^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!

### Warm tip!

Favorite by Ctrl+D