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

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

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.

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!