I have this line of code in MATLAB, written by someone else:
c=a.\'/b
I need to translate it into Python. a, b, and c are all arrays. The d
You can also approach this using the pseudo-inverse of B then post multiplying that result with A. Try using numpy.linalg.pinv then combine this with matrix multiplication via numpy.dot:
B
A
c = numpy.dot(a, numpy.linalg.pinv(b))