Problem 2567. Deleting an element in a matrix

Solution 2060838

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))

Unable to perform assignment because brace indexing is not supported for variables of this type. Error in your_fcn_name (line 3) Grades{1,3}=[]; 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!