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
-
Create a cell array out of a struct
1191 Solvers
-
Sum of diagonal of a square matrix
1480 Solvers
-
Return the first and last characters of a character array
7135 Solvers
-
1237 Solvers
-
380 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!