estchannels.m
来自「自己编写的uwb信道估计」· M 代码 · 共 15 行
M
15 行
function [MPostion,signP] = EstChannelS(PowEstErr,imp_response, MPnum)
if PowEstErr == 0
temp = imp_response;%
else
temp = imp_response + random('norm',0,sqrt(PowEstErr),1,length(imp_response));%
end
for m = 1 : MPnum
MPostion(m) = find( abs(temp) == max(abs(temp)) );
signP(m) = temp(MPostion(m));
temp(MPostion(m)) = 0;
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?