x = [3 9; 5 2]
y = 2
Make the test suite more robust which will prevent from accepting answer of just lone test suite.
x = [3 -6; 8 5];
y_correct = -3;
Should this be -6?
Last test case is flawed. Please fix it.
The Challenge is to write a function that creates the function in the third test set.
Hints: fprintf, rehash path, copyfile
Please fix the test case 2.
Please check the test case 2. The min value should be -6.
Also correct the testsuite for test 3: function name is listed as "your_fcn_name" instead of "matrix_min"
Nobody can solve this problem because of the last test case, it has wrong name for the function.
Flip the main diagonal of a matrix
Determine if input is a perfect number
Basic arrays operations.
Weave two vectors into one
generate a matrix of Legendre polynomials
Calculate the derivative of a polynomial
Switch matrix to a column vector
find the roots of a quadratic equation
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