I want to randomly generate two numbers between 0 and 1, and then sum those two numbers together. How would I go about doing this?
I currently have my randomly generated numbers coded as:
n1 = 0:0.1:0.9;
n2 = 0:0.1:0.9;