The problem is this; I have a system of equations, which describes the workings of a system. (In this case, an electronic system.) The system has inner variables, as well as input and output variables. What I would want, is to get the output variables in terms of the input variables such that the output variable is described as a sum of the functions of the input variables + a constant. (Of course, only if this is at all mathematically possible, in the particular case.)
Preferably I would like to use the Maxima Computer Algebra System, but I am also interested in ways to do it in Matlab.
Let me give 2 examples; I hope you get the idea. O denotes output variable, I denotes input variable, x denotes inner variable, p denotes parameter.
1:
e1: O = x_1 * p_1 + x_2 * p_2;
e2: x_1 = x_2 + I_1 * p_3;
e3: x_2 = I_2 * p_4 + p_5;
solution #1: O = p_1 * p_3 * I_1 + p_4 * (p_1 + p_2) * I_2 + p_5 * (p_1 + p_4)
2:
e1: O = x_1 * p_1 + x_2 * p_2;
e2: x_1 = sqrt(I_1) * p_3;
e3: x_2 = tan(I_2 * p_4);
solution #2: O = p_1 * p_3 * sqrt(I_1) + p_2 * tan(p_4 * I_2)