Hello, I need to decompose a polynomial to a row vector and a column vector, like Ax = B, where x and B are known, A is the coefficient matrix of elements in x.
My problem is that I have a polynomial like:
row = sin(a1)*sin(a2)*sin(a5) + sin(a4)
I tried to use coeffs() to get the coefficient of sin(a3), the desired result should be 0, but coeffs() will never return the exact coefficient of the monomial. Is there a method that I can get the exact coefficient of a certain monomial(like sin(a3), sin(a1)*sin(a2))?