How to add a column in MATLAB after sorting an array

1 回表示 (過去 30 日間)
Sukalyan Deb
Sukalyan Deb 2020 年 11 月 9 日
回答済み: Athul Prakash 2020 年 11 月 12 日
How do I make the Identity column given all the other information and sorting in the figure.

回答 (1 件)

Athul Prakash
Athul Prakash 2020 年 11 月 12 日
Hi Sukalyan,
Looking at your figure, I assume that the data is a table existing in the workspace and that you've already sorted the table. You may extract the final column from the table using dot notaion -
I = myTable.Identity;
Hope it helps.

カテゴリ

Help Center および File ExchangeShifting and Sorting Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by