You are given an image from an url. Swap the red and blue pixels. Next transform it to grayscale and return the pixel sum of it 25th row.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers16
Suggested Problems
-
Return a list sorted by number of occurrences
2901 Solvers
-
Renaming a field in a structure array
1581 Solvers
-
Least common multiple of many numbers
256 Solvers
-
Find the "ordinary" or Euclidean distance between A and Z
177 Solvers
-
Who has power to do everything in this world?
491 Solvers
More from this Author14
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
The test suite needs to be updated; the first image was changed by +81 units.
The link in the third Cody test suite example doesn't even work anymore. Sorry, but the only way to solve this problem now is if else or switch case, and I hate those kinds of solutions to Cody problems.