title: How to find the intersections of two functions in MATLAB?
body: <p>Lets say, I have a function 'x' and a function '2sin(x)'</p>
  
  <p>How do I output the intersects, i.e. the roots in MATLAB? I can easily plot the two functions and find them that way but surely there must exist an absolute way of doing this.</p>