MATLAB: How to use matlab to find the solution of an equation when equal to zero using variables without substituting with numbers

equalityequation

I want to find how can I use matlab to find the solution of an equation when equal to zero using variables without substituting with numbers?
for example if the equation is : (x^2) – (y^2) = 0
the answer will be (x=y)

Best Answer

That is what the 'solve' function of the Symbolic Toolbox endeavors to do. It is not always successful, but it capable of some remarkable results.