February 2020
Beginner
621 pages
19h 34m
English
Compute the first 50 terms of the recurrence
The initial values are
SOLUTION
The vector of coefficients is and the initial values are given by the vector Type
> lfsr([1, 0, 1, 0, 0], [0, 1, 0, 0, 0], 50)[0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1]
Suppose the first 20 terms of an LFSR sequence are 1, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1. Find a recurrence that generates this sequence.
SOLUTION
First, we need to find the length of the recurrence. The command lfsrlength(v, n) calculates the determinants ...
Read now
Unlock full access