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.
Getting logical indexes
Spot the outlier
Get the elements of diagonal and antidiagonal for any m-by-n matrix
Sum the entries of each column of a matrix which satisfy a logical condition.
Given a 4x4 matrix, swap the two middle columns
Weave two vectors into one
calculate linear convolution two vectors
Switch matrix to a column vector
find the maximum element of the matrix
generate a matrix of Legendre polynomials
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