generating vector of random numbers in matlab until sum exceeds M

Printable View