Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
why function name added to table column name?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I used sortrow to sort the columns of table and it worked but sortrow is added to each variable name of table.
sortedtable=varfun(@sortrows,KsTable,'GroupingVariables',{'k_name'});
The table before using sortrow:
after using sortrow:
any idea how to fix this?
0 Kommentare
Antworten (1)
Walter Roberson
am 27 Okt. 2019
I do not see an option to override that. However you can
sortedtable.Properties.VariableNames = KsTable.Properties.VariableNames;
1 Kommentar
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!