C = 0 0 0 0.0453 0 0 0 0 0 0.0741 0.0831 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1004 0 0 0 0 0 0.0815 0 0.0773 0 0 0.0958 0 0 0.0011 0 0 0 0 0 0 0 0 0 0 0.3289 0 0 0.4616 0.6197 0 0.1435 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
and if i use
Z = reshape(repmat(max(reshape(C,2,[])),2,1),size(C))
such that random grouping of rows thereby sharing of values should take place.
How to modify the above command to achieve it.
Best Answer