Forresterian
Computer
- Feb 3, 2006
- 1
I am converting a program that measures distances in 3D shapes into matlab and am having problems with the sort command organising my arrays. I am using 2D arrays, both containing numbers. I would like to organise the columns by the numerical values in the second row. So far when I try the sort command it sorts the row without swapping the columns around. Does anyone know a way round this problem, thanks in advance!