Created
October 15, 2017 13:08
-
-
Save anbara/d98c6fd8235fd85833ad61df5414a719 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# インクルード | |
import numpy as np | |
import scipy.io | |
# データ作成 | |
arr = np.zeros((10,), dtype=[('pyhton','f8'),('matlab','f8')]) | |
# mat保存 | |
scipy.io.savemat("test.mat", {'name':arr}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment