Given a polynomial p known to have positive integer coefficients, deduce the values of the coefficients.
p = @(x) x^2 + 2*x + 15;
c = guess_the_coefficients(p);
c = [1 2 15]
Used to thought this function was banned. never went to that direction. nice touch!
@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!. :)
@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 other function cannot be used for such purpose...so it is not banned and free for your use. Enjoy!. :)
This only works for coefficients<100.
Find the numeric mean of the prime numbers in a matrix.
Back to basics 15 - classes
Decode a simplified barcode
Test if two numbers have the same digits
Multiples of a Number in a Given Range
Clock Hand Angle 1
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office