Arrange/Sort data in specific order

7 views (last 30 days)
arifahazwani AY
arifahazwani AY on 12 Mar 2020
Answered: Cris LaPierre on 13 Mar 2020
Hi, currently I have a datasheet in alphabetic order (name of the variable: for X, Y andZ). how I want to rearrange the datasheet in certain specific order.?
Attached herewith the txt.file and xlsx.file.

Answers (1)

Cris LaPierre
Cris LaPierre on 13 Mar 2020
If you load the data into a table in MATLAB, you can use the movevars command to rearrange the data however you'd like. However, if you load the data into a table, it doesn't matter what order it is in. You access the data via the variable name.

Categories

Find more on Tables in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!