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.
Which values occur exactly three times?
Who knows the last digit of pi?
Sum the Digits of a Number
02 - Vector Variables 3
Find sum of negative elements in row.
Set x value to each even index of vector y.
Find Euclidean norm of given vector u.
Calculate roots of polynomial given as vector array.
Set x value to each odd index of vector y.
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