資源簡(jiǎn)介
數(shù)字基帶傳輸系統(tǒng)的matlab仿真實(shí)現(xiàn)

代碼片段和文件信息
function?[adjudged_ami]=adjudg_1(ami_after_channelm)
%輸入信號(hào)ami_after_channel為經(jīng)過(guò)AWGN信道后的AMI碼型數(shù)字信號(hào),m為判決門(mén)限值;輸出變量adjudged_ami為抽樣判決后的信號(hào)。
%加噪AMI碼型數(shù)字序列抽樣判決的MATLAB仿真實(shí)現(xiàn)
for?i=1:length(ami_after_channel);
????temp=ami_after_channel;
????if?(temp(i)>m)
????????adjudged_ami(i)=1;
????elseif((temp(i)-m))
????????adjudged_ami(i)=0;
????else(temp(i)<-m)
????????adjudged_ami(i)=-1;
????end
end
%畫(huà)圖
l=length(ami_after_channel);
for?x=1:l*10
???m=ceil(x/10);
???adjudged_ami1(x)=adjudged_ami(m);
???ami_after_channel1(x)=ami_after_channel(m);
end
t=1:length(ami_after_channel1);
figure(5)
subplot(211)
plot(tami_after_channel1‘*g-‘);
axis([-0.2?300?-2.2?2.2]);
title(‘道加噪聲的信號(hào)‘);
subplot(212)
plot(tadjudged_ami1);
axis([-0.2?300?-1.2?1.2]);
title(‘抽樣判決以后的AMI碼‘);
?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----
?????文件????????517??2008-12-30?09:12??數(shù)字基帶傳輸系統(tǒng)的MATLAB仿真實(shí)現(xiàn)\system_1.m
?????文件????????929??2008-12-30?08:53??數(shù)字基帶傳輸系統(tǒng)的MATLAB仿真實(shí)現(xiàn)\a_d_1.m
?????文件????????869??2008-12-29?20:29??數(shù)字基帶傳輸系統(tǒng)的MATLAB仿真實(shí)現(xiàn)\adjudg_1.m
?????文件????????642??2008-12-29?20:28??數(shù)字基帶傳輸系統(tǒng)的MATLAB仿真實(shí)現(xiàn)\channel_1.m
?????文件???????1171??2008-12-30?09:19??數(shù)字基帶傳輸系統(tǒng)的MATLAB仿真實(shí)現(xiàn)\d_a_1.m
?????文件????????623??2008-12-29?20:30??數(shù)字基帶傳輸系統(tǒng)的MATLAB仿真實(shí)現(xiàn)\signal_decod_1.m
?????文件????????730??2008-12-29?20:27??數(shù)字基帶傳輸系統(tǒng)的MATLAB仿真實(shí)現(xiàn)\signal_encod_1.m
?????文件????????519??2009-03-15?18:30??數(shù)字基帶傳輸系統(tǒng)的MATLAB仿真實(shí)現(xiàn)\數(shù)字基帶傳輸系統(tǒng)的MATLAB仿真實(shí)現(xiàn).txt
?????文件???????3543??2009-02-01?16:19??數(shù)字基帶傳輸系統(tǒng)的MATLAB仿真實(shí)現(xiàn)\使用幫助:新手必看.htm
?????文件????????183??2009-02-02?09:47??數(shù)字基帶傳輸系統(tǒng)的MATLAB仿真實(shí)現(xiàn)\Matlab中文論壇--助努力的人完成畢業(yè)設(shè)計(jì).url
?????目錄??????????0??2009-04-03?21:09??數(shù)字基帶傳輸系統(tǒng)的MATLAB仿真實(shí)現(xiàn)
-----------?---------??----------?-----??----
?????????????????9726????????????????????11
評(píng)論
共有 條評(píng)論