Info
This question is closed. Reopen it to edit or answer.
How to select numbers randomly from a matrix so that same random numbers can be selected at the sender side and the receiver side?
1 view (last 30 days)
Show older comments
How to select numbers randomly from a matrix so that same random numbers can be selected at the sender side and the receiver side in matlab?
1 Comment
Star Strider
on 30 Jun 2015
What information is the sender allowed to share with the receiver? Indices? Probability? Other data?
Answers (1)
Walter Roberson
on 30 Jun 2015
You can set the two sides to use the same pseudorandom generator state, but you have to somehow communicate that state. This is a difficult problem known as Key Exchange
1 Comment
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!