Problem 1986. Another colon problem
Solution Stats
Problem Comments
-
1 Comment
Alireza yarmohammadi
on 25 Jun 2021
how the mother loving worthstach should we solve this ??? it does sort the way i want??
Solution Comments
-
1 Comment
Dyuman Joshi
on 25 Jun 2021
@Alireza based on your solutions I can say that you are close to solving the problems but you are over-thinking/doing some things.
For example - In this solution your output variable (out) doesn't match the output from code (y).
Problem Recent Solvers116
Suggested Problems
-
Return the 3n+1 sequence for n
6993 Solvers
-
2089 Solvers
-
Return a list sorted by number of consecutive occurrences
244 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
717 Solvers
-
495 Solvers
More from this Author40
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!