Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
382 views
in Technique[技术] by (71.8m points)

matlab - find Local Maximum and Minimum

Hello can you help me with that I must find local maximum and minimum on interval (a;b) of the function

f(x)=x^3 /15 + cos(2pix^2)

a=1.32

b=1.98

I must use command find_root()

at first I found g=diff(f) and after that I wrote find_root(g,a,b) but it gave me only one root and if we look at the plot we can see there are another roots so can you give me a hint?

question from:https://stackoverflow.com/questions/65861104/find-local-maximum-and-minimum

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...