Cody

Problem 2567. Deleting an element in a matrix

Solution 2060830

Submitted on 17 Dec 2019
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
A = [98 56 78 34 100 88 87] ; Grades_correct = [98 56 34 100 88 87]; assert(isequal(your_fcn_name(A),Grades_correct))

Error using delete Invalid or deleted object. Error in your_fcn_name (line 3) delete(78); Error in Test1 (line 3) assert(isequal(your_fcn_name(A),Grades_correct))

Suggested Problems

More from this Author10

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!