フィルターのクリア

feedback with carry shift register.I have tried to write fcsr code. can anybody tell whether it is write or I should have to do changes in that.

1 回表示 (過去 30 日間)
Urmila
Urmila 2014 年 1 月 4 日
編集済み: Urmila 2014 年 1 月 4 日
I have tried to write fcsr code. can anybody tell whether it is write or I should have to do changes in that.also I want help for filtered fcsr code.
clc;
%q=347;
%q=dec2bin(q)
q=[1 0 1 0 1 1 0 1 1]
s(1,:)=q
n=size(q,2);
c=0;
t=[1,3,5,6,8,9];......tap position
m=length(t);
for j=1:64
for k=1:m
c=(q(t(k))+c);
end
sum=c;
d=mod(sum,2);
for i=1:n-1
q(i+1)=q(i);
end
q(1)=d;
s(j+1,:)=q
end
seq=s(:,n)' .............sequence generated

回答 (0 件)

カテゴリ

Help Center および File ExchangeEncryption / Cryptography についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by