vertcat errors - need a 'workaround' solution
Afficher commentaires plus anciens
Please suggest a 'workaround' or alternate solution for the following error (code and data tables attached)
"An error occurred when concatenating the table variable 'ImpactWind' using VERTCAT. Caused by: Error using categorical/vertcat Ordinal arrays must have the same categories, including their order."
Note: categories are: 'other', 'airport', 'road', 'railway', 'bus-sta' ... and the common categories to both tables to vertcat are: 'other', 'airport', 'road'
load 'datatables.mat'; % note: two tables will load, C1 and R1, both have 'ImpactWind' as a variable column
X = vertcat(C1, R1)
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Tables dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!