频率选择性衰落matlab

更新时间:2023-06-27 17:52:18 阅读: 评论:0

% Program 2-6
% fade.m
%
% This function generates frequency lecting fading
%
% Programmed by H.Harada 
%
function[iout,qout,ramp,rcos,rsin]=fade(idata,qdata,itau,dlvl,th,n0,itn,n1,nsamp,tstp,fd,flat)
醛酸
%****************** variables *************************
% idata  input Ich data   
% qdata  input Qch data   
% iout  output Ich data
% qout  output Qch data
% ramp  : Amplitude contaminated by fading
% rcos  : Cosine value contaminated by fading
% rsin  : Cosine value contaminated by fading
% itau  : Delay time for each multipath fading
% dlvl  : Attenuation level for each multipath fading
% th    : Initialized pha for each multipath fading
% n0    : Number of waves in order to generate each multipath fading
回顾英语% itn    : Fading counter for each multipath fading
交强险内容% n1    : Number of summation for direct and delayed waves
% nsamp  : Total number od symbols
% tstp  : Mininum time resolution
% fd  : Maxmum doppler frequency
尼斯基
% flat    flat fading or not
% (1->flat (only amplitude is fluctuated),0->nomal(pha and amplitude are fluctutated) 
%******************************************************
iout = zeros(1,nsamp);
qout = zeros(1,nsamp);
total_attn = sum(10 .^( -1.0 .* dlvl ./ 10.0));辛苦近义词
for k = 1 : n1
atts = 10.^( -0.05 .* dlvl(k));
if dlvl(k) >= 40.0
atts = 0.0;
end
theta = th(k) .* pi ./ 180.0;
[itmp,qtmp] = delay ( idata , qdata , nsamp , itau(k));蹉跎岁月
[itmp3,qtmp3,ramp,rcos,rsin] = fade (itmp,qtmp,nsamp,tstp,fd,n0(k),itn(k),flat);
iout = iout + atts .* itmp3 ./ sqrt(total_attn);
qout = qout + atts .* qtmp3 ./ sqrt(total_attn);
高三班会end
电话话术% ************************end of file***********************************

本文发布于:2023-06-27 17:52:18,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/89/1057532.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:内容   话术   交强险   电话
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图