MATLAB: R ← Rank p by q.. How to code this in matlab??

rank

rank calculation

Best Answer

p = 5;
q = 19;
data = rand(p, q);
R = rank(data);