- Suppose there is a vector v like [1 0 0 -1], representing polynomial coefficients.
- In this example, the polynimial is 1*x^3+0*x^2+0*x-1 or (x^3-1).
- Suppose there is another vector w like [1 -1].
- In this example, the second polynomial is (x-1).
- If x is any integer then the polynomial represented by (v/w) is integer?
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers60
Suggested Problems
-
1910 Solvers
-
88 Solvers
-
Back to basics 18 - justification
205 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
647 Solvers
-
Detect a number and replace with two NaN's
199 Solvers
More from this Author99
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
This problem needs to have its description fixed. It should be "Is the polynomial represented by (v/w) an integer for any integer x except for the roots of w? if the integer x is a root of w, we will have a NaN, which is the case for the test case #1 and the value x=1 for instance.