Research Article
Fast Software Implementation of Serial Test and Approximate Entropy Test of Binary Sequence
Algorithm 4
Determine the frequency of all possible m-bit subsequence (octet string).
Input: a extended octet string of octet length . m is the bit length of subsequence. | Output:, for each value of . | Step 1: , for each value of i. . | Step 2: for , do: 2.1 . 2.2 for , do. if , then: if , then: | Step 3: return , for each value of . |
|