I have a vector
$$[10000, 1000, 800, 700, 500, 100, 12, 12, 12, 11, 8 , 7,6,4,3,1,0]$$
And I want to find out how many large numbers there are in my vector, which I call my population. In this case, there are 6 large numbers. The population is always sorted from largest to smallest. Sometimes there is only one large number.
Is there I way to compute this if we know that there is always at least one large number and the largest number is to the left? Then it comes the second largest number and so on.
I'm trying to reduct the size of the $S$ matrix from the SVD algorithm.
$$[U,S,V] = svd(A)$$
I found the answer now!
Just do:
In MATLAB/Octave. Then we get our solution.
Prof:
We should get how many large numbers there are.