I'm wondering whether there is a neat way to substitute an equation into another one.
1st equation: x*dx*dy+dy*dz*x+z
2nd equation: dx+dz=u
Expected solution: x*dy*u+z
How do I do that? Right now I wrote a script, which can do it (but its 70 lines long and quite slow). Is there an easy solution?
Thank you very much!
Product: Matlab 2012a