M-sequences in Julia?

Is there a package for generating m-sequences (Maximum length sequence - Wikipedia) in Julia? At least with a quick search I did not find anything.

1 Like

And as always, a couple of minutes after asking you find it yourself :slight_smile: :
https://github.com/JuliaTelecom/PhysicalCommunications.jl/blob/master/src/prbs.jl

A couple years ago I also wrote this package with tools for measuring impulse responses, including with MLS:

https://github.com/ssfrr/MeasureIR.jl

It’s not maintained or published, but feel free to grab code if you want to.

1 Like

In fact this is exactly what I need, many thanks for sharing!