%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% EVALUATION OF ERROR PROBABILITY UNDER ISI AND AWGN
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The overall impulse response of the channel is modeled by chebyshev pulse
% Binary modulation is considered
% 1000 interference terms are assumed to be nonzero, others have negligible
% ampliture
A1 = 0.4032; %paramters of the chebyshev pulse
A2 = 0.7163;
w1 = 2.839;
w2 = 1.176;
phi1 = 0.7553;
phi2 = 0.1602;
bet1 = 0.4587;
bet2 = 1.107;
t = -10:0.01:10;
h=(A1*cos((w1*abs(t)/0.5)-phi1).*exp(-bet1*abs(t)/0.5))+...
(A2*cos((w2*abs(t)/0.5)-phi2).*exp(-bet2*abs(t)/0.5));
std = 0.2:0.05:1.25; %standard deviation of the AWGN
lev = 2;
en_d = 1/3*(lev^2-1);
en = 0;
lam = 0.5;
zo = 0.1;
p = 1;
Pe_wid_isi = [];
Pe_widout_isi_psk = [];
Pe_widout_isi_fsk = [];
va = std.^2; %variance of the noise
center = (length(t)-1)/2;
snr = h(center)^2./fliplr(va); %vector of SNR
snr_db = 10*log(snr);
for s = 1.25:-0.05:0.2 %start of algorithm
for k = 1:(length(t)-1)/2
f(k) = h(k)/s;
end
for k = 1:500
en = en+f(k)^2*en_d;
p = p*(sinh(2*lam*f(k))/(2*sinh(lam*f(k))));
end
Pet = qfunc(f(center)-zo)*exp(0.5*en*lam^2-lam*zo)*p;
Pe_wid_isi = [Pe_wid_isi,2*Pet];
end
Pe_widout_isi_psk = qfunc(sqrt(2*snr));
Pe_widout_isi_fsk = qfunc(sqrt(snr));
% main code ends here
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% PLOTTING
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
figure(1)
plot(t,h);
title('impulse response of the channel');
xlabel('Time');
ylabel('Impulse response');
grid;
figure(2)
plot(snr_db,Pe_wid_isi,'r');
hold on;
plot(snr_db,Pe_widout_isi_psk,'g');
hold on;
plot(snr_db,Pe_widout_isi_fsk);
title('error probability curves');
xlabel('SNR(dB)');
ylabel('bit error probability');
grid;
没有合适的资源?快使用搜索试试~ 我知道了~
comparison.zip_isi_zip
![preview](https://csdnimg.cn/release/downloadcmsfe/public/img/white-bg.ca8570fa.png)
共1个文件
m:1个
![preview-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/scale.ab9e0183.png)
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 20 浏览量
2022-07-15
03:04:08
上传
评论
收藏 980B ZIP 举报
温馨提示
error rate using isi
资源推荐
资源详情
资源评论
![zip](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
收起资源包目录
![package](https://csdnimg.cn/release/downloadcmsfe/public/img/package.f3fc750b.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
共 1 条
- 1
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/36163497263541e6b6d5b627b1692a97_weixin_42653691.jpg!1)
朱moyimi
- 粉丝: 65
- 资源: 1万+
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)