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
Factorize THIS, buddy
Back to basics 17 - white space
Generate a string like abbcccddddeeeee
Replace multiples of 5 with NaN
Create a simple inline function y and compute its value at x = pi.
Calculate the structural rank of a 2-by-4 matrix.
find a matrix D that contains the eigenvalues of A on its diagonal.
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