Combined 2 files .dat with different size
Mostrar comentarios más antiguos
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 comentarios
Voss
el 29 de Ag. de 2024
Please add both files to a .zip archive, and then upload the .zip file here using the paperclip button.
younes
el 29 de Ag. de 2024
Walter Roberson
el 29 de Ag. de 2024
Perhaps something like
T1 = readtable('FirstFileNameGoesHere.dat', 'FileType', 'text');
T2 = readtable('SecondFileNameGoesHere.dat', 'FileType', 'text');
Combined = unique([T1; T2], 'rows');
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!