I want to extract data from an excel file which contains the data from different images... I want to sort the data like the axial voidage sheet generated as shown in the sample file MATLAB and the other sheet radial voidage.

I want to sort the data like for eg. for the image no.5 the first row is the axial voidage data and the radial voidage the entire column for the image 5 from the next row.
Thanks in advance.

Answers (1)

Hi Aashna,
You can you the readtable function to read your data into MATLAB as a table, and you can use sortrows function to sort your table by any column. Refer the links to the function documentations for examples and other details.

Asked:

on 6 Feb 2021

Edited:

on 8 Feb 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!