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!