title: Matlab function to isolate a variable in an equation
body: <p>I have been searching a function to do “subjecting” in Matlab. I'm not sure whether it is called as subjecting or by some other name. Let me explain the functionality.</p>
  
  <p>Let's say I have an expression like this.</p>
  
  <pre><code>syms x, y,z;
  y = 2*x^2 - 2*z + 1;
  </code></pre>
  
  <p>I want a function to get the <code>x</code> to one side and other variables to the other side.
  ie.</p>
  
  <pre><code>x = ((y + 2*z - 1)/ 2 )^0.5
  </code></pre>
  
  <p>Is there any functions or built in Matlab command to do this?</p>