If I have a desired vector u=[3 1 5 105 155 50].
Now I want to genrate 10 random vectors of the same size as above u. Then I want to get one of those random vectors which is nearly equal to u and has the same arrangment of elements as that of my desired vector u.
i.e. if one of those generated vector is say for example [1.001 2.99 4.999 154.999 105.001 49.999]. This is nearly equal to my above desired vector u but the arrangement of elements of this vector is not the same as that of my u vector. So I want to get it in the same arrangement of elements as that of my u vector. How can we do this?