資源簡介
自適應(yīng)均衡算法的matlab仿真,可用于其他自適應(yīng)均衡算法中
代碼片段和文件信息
clear?all;
N=1024;??????????????????????????????%訓練序列的長度
m=128;???????????????????????????????%抽頭個數(shù)
step=0.001;??????????????????????????%步長
g=10;???????????????????????????????%仿真次數(shù)
a=1;
d=0.0001;???????????????????????????%遺忘因子
pp=zeros(gN-m);
for?q=1:g
????t=1:N;
????s=a*sin(0.06*pi*t);
????figure(1);
????subplot(311);
????plot(treal(s));
????title(‘輸出信號時域波形‘);
????xlabel(‘n‘);
????ylabel(‘s‘);
????axis([0N-a-1a+1]);
????xn=awgn(s5‘measured‘);
????subplot(312);
????plot(txn);
????title(‘信號加噪聲以后的波形‘);
????y=zeros(1N);
????y(1:m)=xn(1:m);
????w=zer
- 上一篇:RSA matlab
- 下一篇:現(xiàn)代信號處理教程-胡廣書
評論
共有 條評論