MATLAB Answers


How can I find the perm numbers of 2 stocks and store them in a matrix?

Asked by Maliha Khan on 15 Nov 2017
I have a 27x27 matrix of 26 stocks' sum of squared deviations. In the first row and first column I have stored the perm numbers of the stocks for ease of identification. Now I want to choose the pairs of stock with the 5 lowest sums of square deviations. But I'm stuck as I have identified the lowest sum stocks but how do I store their perm numbers for further manipulation? Any help will be appreciated. Thanks


Sign in to comment.

0 Answers