How can I solve the following derative problem in Matlab ?
1 view (last 30 days)
Show older comments
Accepted Answer
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
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.
More Answers (0)
See Also
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!