if a given matrix a = [1 2 3;4 5 6]; so answer is going to be [1 3;4 6]
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers104
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3064 Solvers
-
Increment a number, given its digits
684 Solvers
-
535 Solvers
-
07 - Common functions and indexing 4
423 Solvers
-
Create a square matrix of zeros of even order
182 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Sans test cases with rank 11 (or even 3), it's too easy to provide a solution which passes the test but fails for, say, dyadics. Or did the originator really mean to stick with tensors (rank 2) of arbitrary x and y dimension?