• 大小: 2KB
    文件类型: .m
    金币: 1
    下载: 0 次
    发布日期: 2021-06-04
  • 语言: Matlab
  • 标签: 均衡  lms  matlab  

资源简介

用lms实现均衡用,lms实现均衡matlab

资源截图

代码片段和文件信息

% N=100;

% s=sin(2*pi*t/10);

N=1200;
M=4;

t=0:N-1;

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 由于题目要求,一符号一样点所以不成形
% 也不加调制
% 产生的马元直接加噪

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
x1= randint(N1M); % Random integers in the range [0M-1]

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
x_num=length(x1);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%产生随机数据
y1 = qammod(x1M);
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%因为没有采样率所以上一个频偏dw
%

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%上载波
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%完毕

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%10db的噪声

hA=[0.04-0.050.07-0.21-0.50.720.3600.210.030.07];
A_num=length(hA);
hB=[0.4070.8150.407];
B_num=length(hB);
hC=[0.2270.460.6880.460.227];
C_num=length(hC);


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5%%

评论

共有 条评论