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 Solvers132
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15773 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1302 Solvers
-
Back to basics 21 - Matrix replicating
1788 Solvers
-
Remove the two elements next to NaN value
699 Solvers
-
Matrix multiplication across rows
393 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!