Linear Feedback Shift Register
Updated 11 Apr 2018

View License

Linear Feedback Shift Register
It includes 3 different versions, 1st one to check the properties, 2nd one, if you are interested in storing all the states of LSFR and 3rd, faster
You can check the examples at

Cite As

Nikesh Bajaj (2024). Nikeshbajaj/Linear_Feedback_Shift_Register (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Encryption / Cryptography in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Including 3 versions, LSFRv3.m is faster, solving the issue of maximum recursion error
Now code include better explanation with example in it
Updating description of the faster ones

Now LFSR is available as toolbox, in addition m file includes instruction to use it as well as more friendly to give you option to avoid verification process