필터 지우기
필터 지우기

Code to get first n roots of a function

조회 수: 3 (최근 30일)
Shlok Vaibhav Singh
Shlok Vaibhav Singh 2020년 4월 23일
댓글: Ameer Hamza 2020년 4월 23일
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
Ameer Hamza
Ameer Hamza 2020년 4월 23일
How is the function defined? What if you give the initial guess close to the required point.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Nonlinear Optimization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by