02 February 2017 13 3K Report

I want to generate a vector of random numbers between 0 and 1 in matlab and I use the "rand " function. However, I need that every time I generate this vector  one number only has a value above 0.8 the other numbers will be randomize between one and 0. Any help ? 

Similar questions and discussions