python 中数据的保存
一、Python中数组保存为.mat文件
import scipy.io
data = {} # 必须为dict类型的数据
data['x'] = x # x为原本的数组
scipy.io.savemat('test.mat',data)
一、Python中数组保存为.mat文件
import scipy.io
data = {} # 必须为dict类型的数据
data['x'] = x # x为原本的数组
scipy.io.savemat('test.mat',data)
评论