I am trying to sort a large dataset to contain only the top 99% of the data (within a normal distribution) . Is there a function that already exists in Octave to do this ?
I am trying to sort a large dataset to contain only the top 99% of the data (within a normal distribution) . Is there a function that already exists in Octave to do this ?
You can achieve this by using the following example code:
n = 1000;
a = randn(1,n);
q1 = sort(a)(n*0.01:n);