pn sequence generation using independent seed

2 次查看(过去 30 天)
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.

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Random Number Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by