‘’‘python实现MATLAB中x(:)功能’’’ import numpy as np x=np.array([[1,2,3], [4,5,6], [7,8,1] ]) print(‘x=’,x) def anliezhankai(A): raw=A.shape[0] Column=A.shape[1] f = [] for i in range(0, Column): for j in range(0, raw): f.append(A[j][i]) f=np.array(f) f=f.reshap
©️2020 CSDN皮肤主题: 数字20 设计师:CSDN官方博客返回首页
weixin_39941847CSDN认证博客专家CSDN认证企业博客
粉丝
获赞