how can i find the stationary points of this equation and find its nature in the region x>0.
6 views (last 30 days)
Show older comments
x = -10 : 0.01 : 10;
y = (exp(x)./ sin(x)) + 0.3;
3 Comments
Answers (1)
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.
0 Comments
See Also
Categories
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!