pn sequence generation using independent seed

how to generate pn sequence using independent seed, and for the same seed the same sequence should be generated.i want to use it in watermarking algorithm.

 Respuesta aceptada

Dishant Arora
Dishant Arora el 7 de Mzo. de 2014
s = rng; % rng seeds the random number generator
seq1 = rand(1,5);
rng(s);
seq2=rnd(1,5);

Más respuestas (0)

Categorías

Más información sobre Random Number Generation en Centro de ayuda y File Exchange.

Preguntada:

el 7 de Mzo. de 2014

Respondida:

el 7 de Mzo. de 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by