It has been some time since I last used MatLab, and I can't remember how to solve this simple problem. Given the expression:
How do you return an answer that actually multiples out the expression and puts like terms together?
I wrote the attached code, but this only returns:
(a + 2*b + 3*c + 4*d + 5*e - 8)^2