File Exchange

image thumbnail

Nikeshbajaj/Linear_​Feedback_Shift_Regi​ster

version 1.2.0.0 (3.14 KB) by Nikesh Bajaj
Linear Feedback Shift Register

9 Downloads

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 https://github.com/Nikeshbajaj/Linear_Feedback_Shift_Register

Comments and Ratings (6)

MEENU SAINI

ahmed benalla

aaa

David Alldred

Very good but the way 'c' grows inside the loop makes it run slow for large runs.

Adding 'c = zeros(outputs,n);' right after the first line defining 'n=length(s)' made this this run 25x faster in my case.

Pablo

Pablo (view profile)

Felix

Felix (view profile)

Very useful and easy to use for generating Pseudo random binary sequence.

Updates

1.2.0.0

Updating description of the faster ones

1.2.0.0

Faster

1.2.0.0

Including 3 versions, LSFRv3.m is faster, solving the issue of maximum recursion error

1.2.0.0

Now code include better explanation with example in it

1.1.0.0

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

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux

MATLAB Online Live Editor Challenge

View the winning live scripts from faculty and students who participated in the recent challenge.

Learn more

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video