The output of * operator in this solution is a struct, rather than a mPoly object. Nevertheless, the test suite does not check the type of the output.
L Y Cao, since you're such a wizard with indices, I'd love to see you solve this without converting to the array form. It would be interesting to compare the approaches.
Andrew Newell, thanks for your advice.
17316 Solvers
Basic electricity in a dry situation
491 Solvers
Return elements unique to either input
556 Solvers
Remove the two elements next to NaN value
417 Solvers
Rounding off numbers to n decimals
1080 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!