Python读取.mat文件 (脑电数据)

2019-04-13 13:04发布

数据读取
#!-coding:UTF-8 import matplotlib.pyplot as plt from pylab import * import numpy as np import scipy.io as sio load_fn = '6electrodes.mat' load_data = sio.loadmat(load_fn) load_matrix = load_data['A1'] load_matrix_row = load_matrix[0] print type(load_data) figure(1) plot(load_matrix) print type(load_matrix) show() http://blog.csdn.net/honyniu/article/details/50009397