I have a pretty large equation in which I need to solve for a ratio of 2 variables/symbols. A small example would be:
Y = A*Y + B*X
and I want MATLAB to solve this as
Y/X = B/(1-A)
where the answer(Y/X) doesn't self-reference Y or X. Is there a way to make MATLAB do this for me?
I tried using the solve function to solve for y, then x, and then call "simple(y/x)", but the answer still referred to X and Y