MATLAB Answers

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.

18 views (last 30 days)
AASHNA SUNEJA
AASHNA SUNEJA on 6 Feb 2021
Edited: Kiran Felix Robert on 8 Feb 2021
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)

Kiran Felix Robert
Kiran Felix Robert on 8 Feb 2021
Edited: Kiran Felix Robert on 8 Feb 2021
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.

Community Treasure Hunt

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

Start Hunting!