Filter löschen
Filter löschen

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 Ansicht (letzte 30 Tage)
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

Antworten (0)

Kategorien

Mehr zu Encryption / Cryptography finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by