Solve an eqution in matlab
조회 수: 2 (최근 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개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!