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.
568 Solvers
179 Solvers
372 Solvers
Mysterious digits operation (easy)
139 Solvers
Divisible by n, prime divisors from 20 to 200
44 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!