Wednesday, September 28, 2011

Sorting objects according to their attribute (OOP) in MATLAB:

%Sort According to Slice location
[~ , ind ] = sort([dinfo.SliceLocation]);
dinfo = dinfo(ind);

No comments:

AI

Despite the benefits of AI we are starving for humanity.