Combined 2 files .dat with different size
Ältere Kommentare anzeigen
hello i have 2 files .dat contains enum values but the size of the file one 4000x2 and the second 6000x2 i use "csvread" and "readmatrix" but doesn't work
Note (enum :enumeration)
can you help me pls
thanks
4 Kommentare
Voss
am 29 Aug. 2024
Please add both files to a .zip archive, and then upload the .zip file here using the paperclip button.
younes
am 29 Aug. 2024
Walter Roberson
am 29 Aug. 2024
Perhaps something like
T1 = readtable('FirstFileNameGoesHere.dat', 'FileType', 'text');
T2 = readtable('SecondFileNameGoesHere.dat', 'FileType', 'text');
Combined = unique([T1; T2], 'rows');
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!