Solve an eqution in matlab
조회 수: 1 (최근 30일)
이전 댓글 표시
채택된 답변
Niels
2017년 1월 9일
편집: Niels
2017년 1월 9일
D(t)=R_t
<=> D(t)-R_t=0
tSolution=fzero(D(t)-R_t,0)
but care, the output can be contain more than 1 solution, if D and R have more than 1 intersection point
댓글 수: 2
Niels
2017년 1월 16일
this means that the function has no roots... maybe plot the function first or check if it has a sign change. Did you enter the right function?
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Performance and Memory에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!