MATLAB: Latest Date Entry Record

datelast entry

I have a large data set that contains multiple tests for the same pieces of equipment over many years. How can I isolate the latest test results only for the various pieces of equipment? There is a date stamp and equipment id and test results.
For example, for motor X, what are the last or current oil reports and ignore previous old test.

Best Answer

use sortrows,
sortedTable = sortrows(yourTable,'timestampColumnName')