The assert() command should say: assert(isequal(matrixmanipulation(A),y_correct));
@William, the incorrect function template and test suite has been corrected.
@Tesfaye, if you are unsure at any point while submitting a question, kindly look at how other questions have been framed.
Find the alphabetic word product
Next Higher Power of B
Moving average (variable kernel length)
Create a simple inline function y and compute its value at x = pi.
find a matrix D that contains the eigenvalues of A on its diagonal.
Calculate the structural rank of a 2-by-4 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