Skip to content

Instantly share code, notes, and snippets.

@rygorous
Created July 22, 2015 02:33
Embed
What would you like to do?
CIE inverse matrix
octave-3.6.2.exe:1> M=(1/0.17697)*[0.49 0.31 0.20;0.17697 0.81240 0.01064;0.00 0.01 0.99]
M =
2.76883 1.75171 1.13014
1.00000 4.59061 0.06012
0.00000 0.05651 5.59417
octave-3.6.2.exe:2> inv(M)
ans =
4.1847e-001 -1.5866e-001 -8.2833e-002
-9.1169e-002 2.5243e-001 1.5705e-002
9.2090e-004 -2.5498e-003 1.7860e-001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment