Problem 2305. Reverse Concatenation
Suggest methods to form a Matrix after deleting one of the input's elements. Input should be element's position and output should be the reduced matrix.
For example:
X = [1 2 4 2 3 1 2 2 4 5]
after giving input as t=3 output should be the new matrix which contains all the elements of X (same order) but the third element.
Hence output will be
[1 2 2 3 1 2 2 4 5]
Solution Stats
Problem Comments
-
3 Comments
Jon
on 2 May 2014
This problem needs a test suite
J.R.! Menzinger
on 3 May 2014
Yes, Ujjwal: you must define well the test cases.
Ned Gulley
on 5 May 2014
I added two simple tests.
Solution Comments
Show commentsProblem Recent Solvers76
Suggested Problems
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1035 Solvers
-
Basics: 'Find the eigenvalues of given matrix
404 Solvers
-
445 Solvers
-
Matrix rotation as per given angle
113 Solvers
-
173 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!