OutputPort1=InputPort1;
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.*ConjugateMatchedVector;
b=InputPort2.Sampled.Signal.*GetMatchedVector;
OutputPort1.Sampled.Signal=a+b;