Skip to content

Instantly share code, notes, and snippets.

View gautamsreekumar's full-sized avatar
💭
thinking

Gautam Sreekumar gautamsreekumar

💭
thinking
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sjqtentacles
sjqtentacles / mat2csvUsingPython.py
Created September 13, 2015 23:32
Converting .mat to .csv using python
import scipy.io
import numpy as np
data = scipy.io.loadmat("subject.mat")
for i in data:
if '__' not in i and 'readme' not in i:
np.savetxt(("filesforyou/"+i+".csv"),data[i],delimiter=',')