how can i find the stationary points of this equation and find its nature in the region x>0.

9 views (last 30 days)
x = -10 : 0.01 : 10;
y = (exp(x)./ sin(x)) + 0.3;

Sign in to comment.

Answers (1)

Matt J
Matt J on 8 Nov 2019
Edited: Matt J on 8 Nov 2019
You can use diff to get numerical approximations of the derivatives and apply stationary point criteria based on those.
If needed, you could then use fzero to find roots of the derivatives using what you got from diff as initial guesses. This would refine the estimates of the stationary point locations to better than your 0.01 sampling interval.


Find more on Interpolation in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!