The cieuv2xy function transforms CIE 1960 chromaticity coordinates u and v to CIE 1931 chromaticity coordinates x and y, using the following transformation:

x = \frac{3u}{2u - 8v + 4}\\ y = \frac{2v}{2u - 8v + 4}Any errors in the data set or in results generated with the Lighting Toolbox are not in the liability of the CIE nor me, see licence.

Usage:

[x,y] = cieuv2xy(u,v)

Where:

Parameter | Description |

`x and y` | Are the returned CIE 1931 x and y chromaticity coordinates. |

`u and v ` | Are the given CIE 1960 u and v chromaticity coordinates. |

It is possible to transform several chromaticity coordinates in one function call, using a 1\times n or n\times 1 vector as input.

**Examples**

**Transform CIE 1960 chromaticity coordinates u and v to CIE 1931 chromaticity coordinates x and y and back:**

u = 0.2349; v = 0.3035; [x,y] = cieuv2xy(u,v) [u,v] = ciexy2uv(x,y)

See also: ciexy2uv

Result:

x = 0.3451 y = 0.2973 u = 0.2349 v = 0.3035

**Transform several CIE 1960 chromaticity coordinates u and v to CIE 1931 chromaticity coordinates x and y:**

u = [0.2041 0.1800 0.2499]; v = [0.3060 0.3149 0.3060]; [x,y] = cieuv2xy(u,v)

Result:

x = 0.3124 0.2934 0.3654 y = 0.3122 0.3421 0.2983

**Reference**

`Colorimetry, 4th Edition. Commission International de l’Éclairage (CIE), Vienna Austria, 2018, ISBN: 978-3-902842-13-8 , (DOI: 10.25039/TR.015.2018).`