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일

0 개 추천

s = rng; % rng seeds the random number generator
seq1 = rand(1,5);
rng(s);
seq2=rnd(1,5);

추가 답변 (0개)

질문:

2014년 3월 7일

답변:

2014년 3월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by