how to get xyz value

3 views (last 30 days)
thelong le
thelong le on 15 Jun 2021
Commented: David Hill on 16 Jun 2021
i am new to matlab, how to output calculated value XYZ from RGB value entered from table, what command should i use, thanks!

Answers (1)

David Hill
David Hill on 15 Jun 2021
David Hill
David Hill on 16 Jun 2021
I am having a hard time understanding your question.
%if rgb=[50 60 70], then
xyz=rgb2xyz(rgb)%xyz values will be the output of the function

Sign in to comment.


Find more on Data Distribution Plots in Help Center and File Exchange


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by