discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] random number problem


From: 김무연
Subject: [Discuss-gnuradio] random number problem
Date: Thu, 24 May 2018 18:17:06 +0900

 Hi all!
Could I ask something?
I want to generate random numbers
So when I make a block, I included random.h and I used random() function
But every time it produces the same output
And I want to use this blocks twice in the gnuradio
So I tried to use srand(time(0))
But it didn't work
My question is this are there any method to do the same role of srand(time(0)) when I create a block in gnuradio?
Thanks

reply via email to

[Prev in Thread] Current Thread [Next in Thread]