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.
The last test case has been fixed.
Return unique values without sorting
Make a 1 hot vector
Create matrix of replicated elements
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
find the roots of a quadratic equation
Calculate the derivative of a polynomial
generate a matrix of Legendre polynomials
Calculate the integral of the polynomial
find the maximum element of the matrix
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