How can I randomly generate data pairs?
42 views (last 30 days)
Prasanth Sunkara on 16 Feb 2018
Hi Yusha, There are multiple ways to do that. One way is using randi to generate each column with the appropriate constraints and concatenate them later as shown below:
randomPairs = [z x];
Let me know if this helps.