MATLAB: How to solve the following derative problem in Matlab

derivative quotientMATLAB

Best Answer

Hi Vuqar,
You can solve the derivative problem with the diff function, and then apply the simplify function.
syms x
y = (x^2 + 1)/(x^2-1);
dy = diff(y);
dy_simplified = simplify(dy)