在python中 如何提取txt文件中的矩阵存入到一个可以计算的data=[]中? 5
txt文件中的矩阵形式如下:[[0.999942821.007561880.99243812][0.992438120.999971411.00002859][1.007...
txt文件中的矩阵形式如下:
[[ 0.99994282 1.00756188 0.99243812]
[ 0.99243812 0.99997141 1.00002859]
[ 1.00756188 1.00002859 0.99997141]]
[[ 0.99994282 1.00756188 0.99243812]
[ 0.99243812 0.99997141 1.00002859]
[ 1.00756188 1.00002859 0.99997141]]
[[ 0.99994282 1.00756188 0.99243812]
[ 0.99243812 0.99997141 1.00002859]
[ 1.00756188 1.00002859 0.99997141]]
[[ 0.99994282 1.00756188 0.99243812]
[ 0.99243812 0.99997141 1.00002859]
[ 1.00756188 1.00002859 0.99997141]]
[[ 0.99994282 1.00756188 0.99243812]
[ 0.99243812 0.99997141 1.00002859]
[ 1.00756188 1.00002859 0.99997141]]
[[ 0.99994282 1.00756188 0.99243812]
[ 0.99243812 0.99997141 1.00002859]
[ 1.00756188 1.00002859 0.99997141]]
[[ 0.99994282 1.00756188 0.99243812]
[ 0.99243812 0.99997141 1.00002859]
[ 1.00756188 1.00002859 0.99997141]]
[[ 0.99994282 1.00756188 0.99243812]
[ 0.99243812 0.99997141 1.00002859]
[ 1.00756188 1.00002859 0.99997141]]
[[ 0.99994282 1.00756188 0.99243812]
[ 0.99243812 0.99997141 1.00002859]
[ 1.00756188 1.00002859 0.99997141]]
…… 展开
[[ 0.99994282 1.00756188 0.99243812]
[ 0.99243812 0.99997141 1.00002859]
[ 1.00756188 1.00002859 0.99997141]]
[[ 0.99994282 1.00756188 0.99243812]
[ 0.99243812 0.99997141 1.00002859]
[ 1.00756188 1.00002859 0.99997141]]
[[ 0.99994282 1.00756188 0.99243812]
[ 0.99243812 0.99997141 1.00002859]
[ 1.00756188 1.00002859 0.99997141]]
[[ 0.99994282 1.00756188 0.99243812]
[ 0.99243812 0.99997141 1.00002859]
[ 1.00756188 1.00002859 0.99997141]]
[[ 0.99994282 1.00756188 0.99243812]
[ 0.99243812 0.99997141 1.00002859]
[ 1.00756188 1.00002859 0.99997141]]
[[ 0.99994282 1.00756188 0.99243812]
[ 0.99243812 0.99997141 1.00002859]
[ 1.00756188 1.00002859 0.99997141]]
[[ 0.99994282 1.00756188 0.99243812]
[ 0.99243812 0.99997141 1.00002859]
[ 1.00756188 1.00002859 0.99997141]]
[[ 0.99994282 1.00756188 0.99243812]
[ 0.99243812 0.99997141 1.00002859]
[ 1.00756188 1.00002859 0.99997141]]
[[ 0.99994282 1.00756188 0.99243812]
[ 0.99243812 0.99997141 1.00002859]
[ 1.00756188 1.00002859 0.99997141]]
…… 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询