标签: python matlab
我有一个要用Python编写的MATLAB代码。问题出在Python数组的尺寸上。有人可以帮我吗?
MATLAB:
['a 1.txt', 'a 6.txt', 'a 15.txt', 'a 16.txt'] ['a 2.txt', 'a 3.txt', 'a 4.txt', ....]
Python:
b = a(ttt); % a is a 65x65 matrix, ttt is 4x4096 , the result b is 4x4096
我不知道如何解决