How to add a column in MATLAB after sorting an array
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
How do I make the Identity column given all the other information and sorting in the figure.
0 Kommentare
Antworten (1)
Athul Prakash
am 12 Nov. 2020
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.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Shifting and Sorting Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!