how to normalize a uniformly distributed random values such that every row sum of X(:,:,i) should be 1 except for ith row?
1 view (last 30 days)
Show older comments
how to normalize a uniformly distributed random values such that every row sum of X(:,:,i) should be 1 except for ith row? 'i' value can be anything according to user's choice.
X = rand([n,key_size,6]); where n=6,key_size=3
Here 6 matrices created. Here i want row 5 not to be normalized in all the 6 matrices and keep the original value and all the other row sum of this 6 matrices be normalized? could somone help me in solving this problem. I would be very grateful. thank you
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!