Support Questions

Find answers, ask questions, and share your expertise

Transforming Data from Matlab for Hadoop Ingestion

New Contributor

Does anyone have experience transferring data from a Matlab data file to a HDP-friendly format, such as .csv? There’s Matlab functions to translate .mat files to .csv ones (csvwrite/dlmwrite), but the file I’m working with is much too big to handle in Matlab. What else can I use?

1 REPLY 1

@Angeera Naser

1. What about chunking that file and still use Matlab?

FileData = load('FileName.mat');csvwrite('FileName.csv', FileData.M);

2. Python: https://gist.github.com/Nixonite/bc2f69b0c4430211bcad

3. Use Spark. Example: http://blog.madhukaraphatak.com/matfile-to-rdd/

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.