OutputPort1=InputPort1;
OutputPort2=InputPort2;
InDataSampleLength=length(InputPort1.Sampled.Signal);
InBinarySeqLength=length(InputPort3.Sequence);
SampPerBit=(InDataSampleLength/InBinarySeqLength);
GetArray=kron(InputPort3.Sequence,ones(SampPerBit,1));
Get1Column=reshape(GetArray,[],1);
GetMatchedVector=Get1Column';
ConjugateMatchedVector=~GetMatchedVector;
a=InputPort1.Sampled.Signal.*GetMatchedVector;
b=InputPort1.Sampled.Signal.*ConjugateMatchedVector;
c=InputPort2.Sampled.Signal.*GetMatchedVector;
d=InputPort2.Sampled.Signal.*ConjugateMatchedVector;
OutputPort1.Sampled.Signal=b+c;
OutputPort2.Sampled.Signal=a+d;