Hi all, I'm trying to generate uniform random vectors with n dimensions.(adsbygoogle = window.adsbygoogle || []).push({});

To be more precise, each of the elements of the vector must be a uniform distributed variable in [0,1]

The constraint is that the sum of the elements of the vector must be 1.

I tried different solutions for over a week but i can't get it working.

Can you help me, please?

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Generate a uniform random vector

Loading...

Similar Threads - Generate uniform random | Date |
---|---|

I Generating a random sample with a standard deviation | Aug 11, 2017 |

I Selecting a Natural and a Real Uniformly at Random | Apr 16, 2017 |

What is the role of fractals in procedural generation? | Dec 3, 2015 |

Statistics - Moment Generating Functions | Nov 14, 2015 |

**Physics Forums - The Fusion of Science and Community**