Loading files
%genDecimatedPNSequence.m
function [pnSequence,decimatedVersion]=genDecimatedPNSequence(polynomial,decimationFactor)
%Author : Mathuranathan Viswanathan for gaussianwaves.blogspot.com
%function to generate a decimated maximal length PN sequence (m-sequence)
q=decimationFactor;
pnSequence=genPNSequence(polynomial);
dRep=repmat(pnSequence,1,q);
decimatedVersion=dRep(1,q:q:end);8b6459fc2This file is pinned to the selected release. Download the original to open it in your design tool.