Hi, is there any method beside solve() that can find out the variable x y z like below which i would the variable and the input output( all the numbers below) need to be mat.

I have try with matrix<> but i cannot accept matrix<Matrix < float > > and also array of Mat but the solve method cannot accept mat[];

i need this equation is to find the phase to height converstion used in unwrapped method which need to find the consant a,b,c of the method below by using 3 known value equations. which can be formed as matrix like the image attached above