[pattern,seed] = prbs(O,N)
calculates a pseudorandom binary sequence and the seed needed to continue the
sequence.
[pattern,seed] = prbs(O,N,seed)
calculates a pseudorandom binary sequence and the seed needed to continue the sequence using
the seed value.
pattern = prbs(O,N,seed,reverse)
uses the reverse linear-feedback shift register (LFSR) tap positions and returns a
pseudorandom binary sequence pattern that is essentially the same as running the LFSR
backward in time.
Order of the pseudorandom binary sequence pattern, specified as a positive integer
scalar.
Data Types: double
Length of the pseudorandom binary sequence pattern, specified as a positive integer
scalar.
Data Types: double
Seed value of the pseudorandom binary sequence pattern, specified as a vector. The
function uses the linear-feedback shift register (LFSR) tap positions as seed
value.
Data Types: logical
Determines whether to reverse the LSFR tap positions. If you set
reverse to 1, the function generates a PRBS
pattern that is essentially the same as running the LFSR backward in time.
You can find the LSFR tap positions used by using the command
[~,~,tapPosition]=prbs(O,N).
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.