For given wavelength lambda, calculate corresponding the color coordinates (rounded to 4-decimals) in CIE 1931 color space.
Example:
Input: lambda = 532
Output: xy = [0.1702, 0.7965]
Refer to:
https://en.wikipedia.org/wiki/CIE_1931_color_space
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers2
Suggested Problems
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
The second test is incorrect.