How can I solve the following derative problem in Matlab ?

1 view (last 30 days)

Accepted Answer

Matteo Lo Preti
Matteo Lo Preti on 4 Oct 2020
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)
  2 Comments
Steven Lord
Steven Lord on 4 Oct 2020
Please don't post the solution to homework problems, or questions that sound like homework problems, unless the poster shows some effort first.

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!