Problem 44274. Calculate the sum of two polynomials
Solution Stats
Solution Comments
-
2 Comments
Christian Schröder
on 22 Oct 2022
Doesn't nonzeros() remove non-leading zeros as well?
Dyuman Joshi
on 22 Oct 2022
It does, and this solution will fail when any of the intermediate coefficients are zero in any of the two polynomials.
Problem Recent Solvers67
Suggested Problems
-
1349 Solvers
-
576 Solvers
-
420 Solvers
-
Remove element(s) from cell array
989 Solvers
-
168 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!