Problem 42849. RGB to CMYK
Convert an RGB code to the corresponding CMYK code for printing.
The RGB input is a [1×3] double array between 0 and 1.
CMYK must be a [1×4] double array between 0 and 1.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers129
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6193 Solvers
-
Swap the first and last columns
20318 Solvers
-
Which values occur exactly three times?
5079 Solvers
-
Set some matrix elements to zero
525 Solvers
-
Permute diagonal and antidiagonal
439 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!