更新时间:2023-10-22 08:44:28
TypeError: 'numpy.ndarray' object is not callable 错误意味着您试图将 numpy 数组作为函数调用.
The error TypeError: 'numpy.ndarray' object is not callable means that you tried to call a numpy array as a function.
使用
Z=XY[0]+XY[1]
代替
Z=XY(i,0)+XY(i,1)