How to convert mnist dataset .txt file to .mat file?

9 visualizaciones (últimos 30 días)
Aybuke YILDIZ
Aybuke YILDIZ el 26 de Jul. de 2022
Comentada: Aybuke YILDIZ el 29 de Jul. de 2022
Hello, I have to convert the text file ,that I am adding, to .mat file immediately.
I searched a lot about but ı couldnt do it correclty. Anyone could help me please immediately?
Thanks in advance.
  1 comentario
dpb
dpb el 26 de Jul. de 2022
So, what did you try and where did you have a problem?

Iniciar sesión para comentar.

Respuesta aceptada

David Hill
David Hill el 26 de Jul. de 2022
Why not just:
r=readtable('mnistdata.txt');
r.Properties.VariableNames={'Name','Size','Bytes','Class'};
save r;

Más respuestas (0)

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by