MATLAB: I am not quite sure how to create 5 random numbers between 0 and 10.

random numberingseed

The question goes on to ask to create a seed and save its value to a variable named “SeedInfo” using “rng”.

Best Answer

s(1)=rng
randi([0 10],1,5)
to get the same sequence
rng(s(1))
randi([0 10],1,5)