Hello, I am new to this community and would be happy if somebody could help me out. I use following code:
MC=10 rand = [zeros(MC,1),sort(rand(MC,2),2),ones(MC,1)]; weight = diff(rand,[],2);
which gives me that table:
Now I would like to extend that table to a 10×174 matrix, the problem is, the entries in column 1-3 should add up to one, and that should be the same for 4-6 and 7-9….until 172-174.
I have no idea how to do that.
Thank you very much in advance.
0,157613081677548 0,657110604715631 0,1852763136068210,905791937075619 0,0648008446849965 0,02940721823938430,126986816293506 0,830180131949440 0,04283305175705440,485375648722841 0,428000207416178 0,08662414386098060,632359246225410 0,167921222663391 0,1997195311112000,0975404049994095 0,0443459336278058 0,8581136613727850,278498218867048 0,143263063759227 0,5782387173737250,546881519204984 0,368854005984083 0,08426447481093290,792207329559554 0,165299505874743 0,04249316456570240,959492426392903 0,00539610880637353 0,0351114648007235
Best Answer