I was wondering how to create a matrix of n cols, where each column is a distribution of the manner 0:0.01:1
What I ideally want is a form of ndgrid
with
[x1,x2,x3...,xn] = ndgrid(0:0.01:1,0:0.01:1.....m times)
My constraint is the rows should add upto 1. That is I would only keep indices of those rows from the above grid which add up to 1. But as you can understand this is too large to compute. Hence, I am looking for short / efficient ways of achieving this. I would appreciate any help.