Communications Blockset | ![]() ![]() |
Generate a Walsh code from an orthogonal set of codes
Library
Sequence Generators sublibrary of Comm Sources
Description
Walsh codes are defined as a set of N codes, denoted Wj, for j = 0, 1, ... , N - 1, which have the following properties:
Walsh codes are defined using a Hadamard matrix of order N. The Walsh Code Generator block outputs a row of the Hadamard matrix specified by the Walsh code index, which must be an integer in the range [0, ..., N - 1]. If you set Walsh code index equal to an integer j, the output code has exactly j zero crossings, for j = 0, 1, ... , N - 1.
Note, however, that the indexing in the Walsh Code Generator block is different than the indexing in the Hadamard Code Generator block. If you set the Walsh code index in the Walsh Code Generator block and the Code index parameter in the Hadamard Code Generator block, the two blocks output different codes.
Dialog Box
See also
Hadamard Code Generator, OVSF Code Generator
![]() | Voltage-Controlled Oscillator | Windowed Integrator | ![]() |