how can i find When function is zero without Functions like fzero solve ...?
이전 댓글 표시
help me please
댓글 수: 10
Jan
2018년 6월 28일
Please mention the background of this question. Maybe all you want is index = (x==0) or find(y==0), or you want to write a pseudo-newton method with a line-search and an internal numerical approximation of the 2nd derivatives. There are many different solutions with different properties.
arkadi ak
2018년 6월 28일
Jan
2018년 6월 28일
@arkadi ak: Now it matters if this is a homework of a lesson of the beginners course of numerical maths, or if this is a PhD thesis. It matters if you want a cheap solution of 1D functions, or if you talking about a mutli-dimensional case.
I ask you again for posting more details. Give us a chance to help you.
OCDER
2018년 6월 28일
Before anyone can help, you'll have to be more clear about these:
What are the two functions and their inputs and outputs? Do you mean to find the intersection point(s) of two "equations"? And why can't you use fsolve? Is this an assignment to make an algorithm like fsolve? If so, what matlab code have you written or are having trouble with? What "answer" do you want from the forum - pseudo code or hints about matlab functions to use?
arkadi ak
2018년 6월 28일
arkadi ak
2018년 6월 28일
Guillaume
2018년 6월 28일
Because The teacher wants that we ...
Most likely, the teacher also wants that you come up with and write the algorithm yourself, not copy/paste it off some website.
arkadi ak
2018년 6월 28일
Steven Lord
2018년 6월 28일
Even if it is a small part of an assignment, it's still part of an assignment and it's probably part of that assignment because your professor thinks it valuable for you to do.
If you show us what you've tried so far and ask a specific question about where you're having difficulty we can offer suggestions. If you're not sure even how to get started, you should speak to your professor and/or your teaching assistant for help with the initial setup.
arkadi ak
2018년 6월 28일
답변 (1개)
Jan
2018년 6월 28일
0 개 추천
I'm sure you have heard something about method to find roots of functions. Perhaps a Newton-Raphson method? Or Regula-False, bisection method, etc. Then it is likely that your teacher wants you to implement the method you have learned in the lessons. The forum can, will and should not do this for you, because it is not our homework and we did not know, what you have been taught.
카테고리
도움말 센터 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!