I have a 2x8638 matrix in a .mat file from Matlab. When I convert to Python using the following code:
import scipy.io
mat=scipy.io.loadmat('u_x.mat')
Python creates a dictionary structure.
{'__header__': b'MATLAB 5.0 MAT-file, Platform: PCWIN64, Created on: qua jul 21 08:43:40 2021', '__version__': '1.0', '__globals__': [], 'u_x': array([[ 0.00000000e+00, 1.39250848e-07, 8.35505086e-07, ...,
2.99900000e+01, 2.99968199e+01, 3.00000000e+01],
[ 0.00000000e+00, -5.48522290e-11, -1.97447920e-09, ...,
5.29180779e+00, 5.22323380e+00, 5.20265331e+00]])}
I wanted to convert to a .csv file so that the data handling is better.