MATLAB: Solving for variables at the end of a symbolic matrix of equations.

equationmatricesmatrixsymbolicvariablevariables

I was hoping someone could help me with my code, we are trying to find the height final wrt the force of a forging operation. the variable being solved for is normally one of the variables initially used to solve the string of equations, and I was wondering how one would reverse that order?
Here is a link to the file.
Thanks and cheers, Milo

Best Answer

Calling subs() does not change the expression being subs()'d into. You would need to assign the output of subs() to something.
Note: you can replace several variables at the same time using
subs(F, {first_variable, second_variable, third_variable...}, {replacement_for_first, replacement_for_second, replacement_for_third...})