Last week, I was teaching how to randomly pick lotto numbers using MATLAB. The problem was that some of the numbers that were getting picked were identical. We solved this by using comparisons until the current number picked is different from the previously selected numbers. We blogged on this a few months ago. But there [...]