How to select numbers randomly from a matrix so that same random numbers can be selected at the sender side and the receiver side?

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

What information is the sender allowed to share with the receiver? Indices? Probability? Other data?

답변 (1개)

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

Sir as I am new to matlab can you please give me the cod for the same.

이 질문은 마감되었습니다.

질문:

2015년 6월 30일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by