pn sequence generation using independent seed

2 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Dishant Arora
Dishant Arora il 7 Mar 2014
s = rng; % rng seeds the random number generator
seq1 = rand(1,5);
rng(s);
seq2=rnd(1,5);

Più risposte (0)

Categorie

Scopri di più su Random Number Generation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by