Note that this problem uses the word solve when it needs to say EVALUATE.
Andriy, Cody is a GAME !
Where is the game here ?
You give a function and I must copy/paste your definition.
AGREE with Jean-Marie Sainthillier: the major problem here is exposing the solution code within the Test Suite. The Test Suite should only contain _numerical_ answers. (At least the player must make a few small changes to the formula given in the Problem Statement.) See Problem 44521 for more discussion.
sum of first 'n' terms
Swap two numbers
Back to basics - mean of corner elements of a matrix
Rotate matrix by -90 degrees
Replace x value into y value in string text.
Compare two strings.
Find the sines of an isosceles triangle when given its area and height
Set x value to each odd index of vector y.
Calculate the values of a polynomial.
Find the treasures in MATLAB Central and discover how the community can help you!
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