91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

卷積碼是一種性能優越的信道編碼,它的編碼器和解碼器都比較易于實現,同時還具有較強的糾錯能力,這使得它的使用越來越廣泛。

資源截圖

代碼片段和文件信息

function?output=cnv_encd(gk0input)
%?? cnv_encd(gk0input)
%?? determines?the?output?sequence?of?a?binary?convolutional?encoder
%?? g?is?the?generator?matrix?of?the?convolutional?code
%???????? with?n0?rows?and?l*k0?columns.?Its?rows?are?g1g2...gn.
%?? k0?is?the?number?of?bits?entering?the?encoder?at?each?clock?cycle.
%?? input?The?binary?input?seq.
%??check?to?see?if?extra?zero?padding?is?necessary
%??output的前2*length(input)位為有效輸出位
if?rem(length(input)k0)?>?0
??input=[inputzeros(size(1:k0-rem(length(input)k0)))];
end
n=length(input)/k0;
%??check?the?size?of?matrix?g
if?rem(size(g2)k0)?>?0
??error(‘Error?g?is?not?of?the?right?size.‘)
end
%??determine?l?and?n0
l=size(g2)/k0;
n0=size(g1);
%??add?extra?zeros
u=[zeros(size(1:(l-1)*k0))inputzeros(size(1:(l-1)*k0))];
%??generate?uu?a?matrix?whose?columns?are?the?contents?of?
%??conv.?encoder?at?various?clock?cycles.
u1=u(l*k0:-1:1);
for?i=1:n+l-2
??u1=[u1u((i+l)*k0:-1:i*k0+1)];
end
uu=reshape(u1l*k0n+l-1);
%??determine?the?output
output=reshape(rem(g*uu2)1n0*(l+n-1));

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????1096??2014-11-05?11:16??源碼\cnv_encd.m

?????文件???????1643??2014-11-05?11:16??源碼\viterbi.rar

?????目錄??????????0??2014-11-06?11:06??源碼

-----------?---------??----------?-----??----

?????????????????2739????????????????????3


評論

共有 條評論