function [mmse,mse,f_opt,delta] = MMSE_fse (h,hrec,snr,Lf)
% =========================================================
% function [mmse,mse,f_opt,delta] = MMSE_fse (h,hrec,snr,Lf)
% ---------------------------------------------------------
% Find the MMSE for a specific estimated channel.
% The two channels (h,hrec) must be of the same length.
%
% hrec : the reconstructed channel
% snr : the SNR at the equalizer input
% Lf : length of the equalizer to use
%
% mmse : minimum-MSE achieved over all delays
% f_opt : the equalizer that achieves the mmse
% delta : the optimal delay
%
% Author: H. Pozidis, September 23, 1998
% =========================================================
if (length(h)-length(hrec) ~= 0)
error('The channels must be of the same length');
end
if (snr >= 0)
snr = 10^(snr/10);
lambda = 1/snr;
else
lambda = 0;
end
h = h(:);
hrec = hrec(:);
H = convmtx(h,Lf);
C = convmtx(hrec,Lf);
P = size(C,1);
He = H(1:2:P,:);
Ce = C(1:2:P,:);
P = size(Ce,1);
A = inv(Ce'*Ce + lambda*eye(Lf));
f_eq = A*Ce';
h_del = eye(P);
mse_mat = (h_del-He*f_eq)'*(h_del-He*f_eq) + f_eq'*f_eq*lambda;
mse = diag(mse_mat);
[mmse,delta] = min(mse);
f_opt = f_eq(:,delta);
基于MATLAB的MMSE算法估计
4星 · 超过85%的资源 需积分: 44 119 浏览量
2015-03-22
11:12:38
上传
评论 21
收藏 632B RAR 举报
chaseman
- 粉丝: 0
- 资源: 1
最新资源
- mybatis动态sql及其JAVA示例
- 微软常用运行库 游戏运行库 VC++各个版本
- 微信小程序开发教程.pptx
- MyBatis动态SQL是一种强大的特性,它允许我们在SQL语句中根据条件动态地添加或删除某些部分,从而实现更加灵活和高效的数据
- 锐捷网络认证中心网络管理.pdf
- MyBatis动态SQL是一种强大的特性,它允许我们在SQL语句中根据条件动态地添加或删除某些部分,从而实现更加灵活和高效的数据
- SD8233LF是一款用于单按键触摸及接近感应开关,其用途是替代传统的机械型开关芯片IC
- 基于YOLOv5的烟雾火焰检测算法研究
- 基于STM32的联合调试侦听设备解决方案原理图PCB源文件调试工具视频(大赛作品)
- MyBatis动态SQL是一种强大的特性,它允许我们在SQL语句中根据条件动态地添加或删除某些部分,从而实现更加灵活和高效的数据
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
- 1
- 2
前往页