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
-
438 Solvers
-
Sum of diagonal of a square matrix
1479 Solvers
-
Vectorizing, too easy or too hard?
138 Solvers
-
184 Solvers
-
Basics: 'Find the eigenvalues of given matrix
385 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!