필터 지우기
필터 지우기

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일)
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 CenterFile Exchange에서 Encryption / Cryptography에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by