Problem 1971. Remove element(s) from cell array
Solution Stats
Problem Comments
-
2 Comments
源樹 上林
on 22 Aug 2020
good
Yunpeng Teng
on 5 Dec 2020
you should add that the element is deleted by the index not the value
Solution Comments
-
1 Comment
Haoran Tian
on 28 Nov 2021
nice one
-
1 Comment
john perkins
on 4 May 2021
very challengning
-
1 Comment
Qin-Yong
on 15 Jan 2021
function y = remove_from_cell_array(x,to_remove)
x(to_remove)=[];
y=x;
end
-
1 Comment
Matthias Saurer
on 10 Jul 2020
you should also add a test suit where the individual elements are not increasing monotonously, e.g. x={9,4,5,8,3,1,6,4}
-
1 Comment
Matthias Saurer
on 9 Jul 2020
that was a nice one :))
Problem Recent Solvers1047
Suggested Problems
-
4059 Solvers
-
439 Solvers
-
Create a two dimensional zero matrix
447 Solvers
-
627 Solvers
-
611 Solvers
More from this Author31
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!