Problem 1068. Guess the Coefficients!
Solution Stats
Problem Comments
-
1 Comment
Dyuman Joshi
on 7 Jan 2023 at 11:08
Test cases are added to the problem.
Solution Comments
-
3 Comments
bainhome
on 21 Jun 2018
Used to thought this function was banned. never went to that direction. nice touch!
J. S. Kowontan
on 21 Jun 2018
@Bainhome, Cody banned the reverse of this function because it could be used as a cheat to unfairly reduce Cody score. I do believe the function used cannot be in such manner...so it is not banned and free for your use. Enjoy!. :)
Christian Schröder
on 7 Jan 2023 at 9:53
This'll fail on, say, p = @(x) 15 + x^2 + 2*x.
-
1 Comment
Tim
on 7 Dec 2012
This only works for coefficients<100.
Problem Recent Solvers32
Suggested Problems
-
2515 Solvers
-
273 Solvers
-
554 Solvers
-
Sum all integers from 1 to 2^n
12220 Solvers
-
Magic is simple (for beginners)
6301 Solvers
More from this Author56
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!