Filter löschen
Filter löschen

Code to get first n roots of a function

3 Ansichten (letzte 30 Tage)
Shlok Vaibhav Singh
Shlok Vaibhav Singh am 23 Apr. 2020
Kommentiert: Ameer Hamza am 23 Apr. 2020
I have to find first n roots of a function however I am unable to do so using fsolve or fzero or optimization toolbox which give wrong answers and moreover , they give a single root at a time so I am unsure of how to use them for n iterations, the function looks like this:
It behaves pathetically after the blue arrows and I have difficulty in getting the roots, sometimes the roots are also very close together.
So I wanted to know how to get this task done?
  1 Kommentar
Ameer Hamza
Ameer Hamza am 23 Apr. 2020
How is the function defined? What if you give the initial guess close to the required point.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Nonlinear Optimization finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by