Arrange/Sort data in specific order

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.

回答 (1 件)

Cris LaPierre
Cris LaPierre 2020 年 3 月 13 日

0 投票

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.

カテゴリ

ヘルプ センター および File ExchangeTables についてさらに検索

タグ

質問済み:

2020 年 3 月 12 日

回答済み:

2020 年 3 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by