How to find which columns are different between two tables
Show older comments
Hello:
I have 2 datasets (Table A and Table B). Table A has 1200 columns while that of B has 1205 columns. They all have the same number of rows. A and B are supposed to be the same but for some reason when I save A, 5 additional columns are added hence I get B (1205 columns instead of 1200).
I wanna find out what those 5 additional columns are. Is there a code that can let me compare A and B and tell me what those additional 5 columns in Table B are?
Thank you and I look forward to hearing from you soon.
3 Comments
Walter Roberson
on 12 Aug 2018
Can you attach a .mat containing the two?
How are you doing the saving?
Which MATLAB release are you using?
Curious Mind
on 12 Aug 2018
Walter Roberson
on 12 Aug 2018
.dat is not a standard file type. How are you doing the saving?
Accepted Answer
More Answers (0)
Categories
Find more on Tables in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!