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.
231 Solvers
Find the largest value in the 3D matrix
1088 Solvers
Test if two numbers have the same digits
190 Solvers
Create matrix of replicated elements
327 Solvers
114 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!