Dear MatLab comunity,
I would like to obtain a list of values that are within 10% the highest value of the distribution that I have. The data is a list of aminoacids of a protein and their associated root mean square fluctuation.
My idea tough was to have not only the values of RMSF but also the residue associated with it in the list, so that I knew which value belongs to each residue.
Residue 234 3.3301
Residue 121 2.5150
Here's the beginning of the script, I can get a list out of the 10% highest values but I need the association with the residue.
RMSF = load('rmsf.dat');
n = RMSF(:,1);
x = RMSF(:,2);
w1 = 0.5;
Ms = sort(x_UDP,'descend');
Result = Ms(1:ceil(length(Ms)*0.1))
Hope I have been somehow clear in stating the problem. Any suggestion about this would be highly appreciated!
All the best,